This is an automated email from the ASF dual-hosted git repository. adriancole pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-zipkin.git
The following commit(s) were added to refs/heads/master by this push: new 0c4a714 Adds manual release instructions 0c4a714 is described below commit 0c4a71481c7021e2cf29d5aa5c7fd215cea0e3e3 Author: Adrian Cole <ac...@pivotal.io> AuthorDate: Sun Jun 16 15:16:12 2019 +0800 Adds manual release instructions --- RELEASE.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index b5dfa45..63762b4 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -78,6 +78,32 @@ $ ./mvnw com.mycila:license-maven-plugin:format -pl -:zipkin-ui,-:zipkin-lens $ ./mvnw versions:set -DnewVersion=1.3.2-SNAPSHOT -DgenerateBackupPoms=false $ git commit -am"Adjusts copyright headers for this year" ``` +### Manually releasing + +If for some reason, you lost access to CI or otherwise cannot get automation to work, bear in mind this is a normal maven project, and can be released accordingly. The main thing to understand is that libraries are not GPG signed here (it happens at bintray), and also that there is a utility to synchronise to maven central. Note that if for some reason [bintray is down](https://status.bintray.com/), the below will not work. + +```bash +# First, set variable according to your personal credentials. These would normally be decrypted from .travis.yml +BINTRAY_USER=your_github_account +BINTRAY_KEY=xxx-https://bintray.com/profile/edit-xxx +SONATYPE_USER=your_sonatype_account +SONATYPE_PASSWORD=your_sonatype_password +VERSION=xx-version-to-release-xx + +# now from latest master, prepare the release. We are intentionally deferring pushing commits +./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DreleaseVersion=$VERSION -Darguments="-DskipTests -Dlicense.skip=true" release:prepare -DpushChanges=false + +# once this works, deploy and synchronize to maven central +git checkout $VERSION +./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DskipTests deploy +./mvnw --batch-mode -s ./.settings.xml -nsu -N io.zipkin.centralsync-maven-plugin:centralsync-maven-plugin:sync + +# if all the above worked, clean up stuff and push the local changes. +./mvnw release:clean +git checkout master +git push +git push --tags +``` ## Backport patch release