Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 2.04 KB

README.md

File metadata and controls

38 lines (25 loc) · 2.04 KB

CircleCI Jobs

These are CircleCI Orbs which can be used for building and publishing Android SDK projects on CircleCI. These Orbs are published to the CircleCI Orb Registry, so you do not need to use the config files in this repo (they are here only as the source for the published Orbs).

We have two different Orbs which are published. See the each Orb's Readme for instructions on how to use:

  • android-sdk: Used to build and publish Android SDK projects
  • app-center: Used to publish a binary to App center. Can be used with any type of project supported by App Center, i.e. Android, iOS, etc.

How to publish Orbs

These orbs are already published to the rakutentech organization, so these instructions are only relevant to users who wish to publish Orbs by themselves.

See CircleCI docs for more info. In order to publish the Orbs, you must have installed the CircleCI CLI. On a Mac, you can install it with brew install circleci.

Also, you must have a Github account which belongs to the rakutentech organization and a CircleCI token created here.

First, validate the orb:

circleci orb validate ./android-sdk/config.yml --token TOKEN

Next, if validation passed then you can publish the orb as a development version for testing:

circleci orb publish ./android-sdk/config.yml rakutentech/android-sdk@dev:0.1.0 --token TOKEN

Finally, you can promote the development orb to a production orb:

circleci orb publish promote rakutentech/android-sdk@dev:0.1.0 minor --token TOKEN

Resources