diff options
author | bootstraponline <code@bootstraponline.com> | 2015-03-09 10:33:19 -0400 |
---|---|---|
committer | bootstraponline <code@bootstraponline.com> | 2015-03-09 11:38:20 -0400 |
commit | 99eaf6fa2e0d6e97d2c5d6a36cc833427b43c868 (patch) | |
tree | e6d0c967ca96a00aef171eac644aa119c829fac9 /releasing_to_jcenter.md | |
parent | b9cf8750ebf4394555f9ef801b2114d4901682a5 (diff) | |
download | droiddriver-99eaf6fa2e0d6e97d2c5d6a36cc833427b43c868.tar.gz |
Use project properties to authenticate with JCenter
This improves Jenkins integration as the API key is not exposed to the filesystem.
Change-Id: Ia7b8d3df2a481aefa0a2507dd6b6d7a4fe249f4a
Diffstat (limited to 'releasing_to_jcenter.md')
-rw-r--r-- | releasing_to_jcenter.md | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/releasing_to_jcenter.md b/releasing_to_jcenter.md index eaeb815..72019f2 100644 --- a/releasing_to_jcenter.md +++ b/releasing_to_jcenter.md @@ -1,24 +1,19 @@ # Releasing to JCenter -Add the following credentials to `bintray.properties` Your API key can be [found here](https://bintray.com/user/edit/tab/apikey). +Creating a release on jcenter is done by invoking the binaryUpload task with a bintray user and API key. Your API key can be [found here](https://bintray.com/user/edit/tab/apikey). -``` -bintray.user=USERNAME -bintray.key=APIKEY -``` +`gradle -PbintrayUser=myusername -PbintrayKey=123 clean bintrayUpload` -Creating a release on jcenter is done by invoking the binaryUpload task. Note that you'll need to be a member of the appium organization on jcenter before publishing. Existing members are able to invite new ones. +Note that you'll need to be a member of the appium organization on jcenter before publishing. Existing members are able to invite new ones. Update the version number in `build.gradle` by modifying the value of `ddVersion`. Official releases should be made only after removing the `-SNAPSHOT` suffix. If the same version number is used as an existing release of droiddriver then jcenter will reject the upload. -`gradle clean bintrayUpload` - # Releasing snapshots to artifactory Snapshots of DroidDriver are released to `http://oss.jfrog.org/artifactory` in the oss-snapshot-local repository. -`gradle clean artifactoryPublish` +`gradle -PbintrayUser=myusername -PbintrayKey=123 clean artifactoryPublish` Note that resolving the snapshots requires adding the maven repo to the gradle build file: |