Skip to content

Commit

Permalink
README-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeust committed Oct 27, 2015
1 parent 64349ff commit 3452661
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README-publish
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
To publish:

- ./gradlew bintrayUpload will upload the release to JCenter. It will fail if the version is a SNAPSHOT
- ./gradlew uploadArchives will upload the snapshot to https://oss.sonatype.org/content/repositories/snapshots and the release to https://oss.sonatype.org/service/local/staging/deploy/maven2. For a release, you then need to go to https://oss.sonatype.org/index.html#stagingRepositories to manually close and release the distribution.
- ./gradlew uploadArchives will upload
- the snapshot to https://oss.sonatype.org/content/repositories/snapshots
- the release to https://oss.sonatype.org/service/local/staging/deploy/maven2
For a release, you then need to go to https://oss.sonatype.org/index.html#stagingRepositories to manually close and release the distribution.

Note that `./gradlew uploadArchives` is run by Travis after each new push to deploy the latest HEAD to the snapshot directory. As such, the version number of `build.gradle` should always be -SNAPSHOT.
Note that `./gradlew uploadArchives` is run by Travis after each new push to deploy the latest HEAD to the snapshot directory. As such, the version number of `build.gradle` in the git repo should always be -SNAPSHOT.

0 comments on commit 3452661

Please sign in to comment.