This is an automated email from the git hooks/post-receive script. eugene-guest pushed a commit to annotated tag testng-6.9.5 in repository testng.
commit 241b759e076431d4f3f2ea7eef126f01eba70b99 Author: Cedric Beust <[email protected]> Date: Sat Jul 11 16:30:40 2015 -0700 A few comments. --- README-publish | 6 ++++++ build.gradle | 2 +- gradle/publishing-maven.gradle | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README-publish b/README-publish new file mode 100644 index 0000000..c80f21e --- /dev/null +++ b/README-publish @@ -0,0 +1,6 @@ +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. + +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. diff --git a/build.gradle b/build.gradle index 3788392..ce46900 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ plugins { id "com.jfrog.artifactory" version "3.1.1" } -version = '6.9.5-SNAPSHOT' +version = '6.9.6-SNAPSHOT' apply plugin: 'java' diff --git a/gradle/publishing-maven.gradle b/gradle/publishing-maven.gradle index c87f8c4..b38cf79 100644 --- a/gradle/publishing-maven.gradle +++ b/gradle/publishing-maven.gradle @@ -48,3 +48,9 @@ uploadArchives { } } +uploadArchives.doLast { + if (! version.contains("SNAPSHOT")) { + println("Now go to https://oss.sonatype.org/index.html#stagingRepositories to close" + + " and publish the distribution") + } +} \ No newline at end of file -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

