Skip to content
Permalink
Browse files

small updates to release.md (#486)

  • Loading branch information
tsiq-karold committed Jan 7, 2020
1 parent 1463d0d commit 07cd55d8194db7ce1c08888102b43e6fe54cdc41
Showing with 9 additions and 7 deletions.
  1. +9 −7 release.md
@@ -35,29 +35,31 @@ You will need to also obtain GPG files to be copied into your `~/.gnupg` and the
The first step is to prepare the release. Make sure you are on master and up to date then run:

```
mvn release:clean release:prepare -DskipTests -Darguments=-DskipTests
mvn release:clean release:prepare
```

This will do a number of things (let's assume you're trying to release version x.y.z):
* build webtau
* prompt you for a few version related things where you should generally accept the proposed values
* prompt you for a few version related things where you should generally accept the proposed values by pressing enter with no input
* update the version number in all poms to x.y.z
* git commit the change
* git commit and push the change
* tag git as x.y.z
* update versions to x.y.(z+1)-SNAPSHOT
* git commit the change
* git commit and push the change

Please note some of these git operations are performed against master, you therefore need to be an admin on the project.

# Perform the release

```
export GPG_TTY=$(tty)
mvn release:perform -DskipTests -Darguments=-DskipTests
mvn release:perform
```

This will prompt you for the GPG passphrase. It will then build and test webtau and publish all artifacts to Maven Central.

# Sit back, relax and enjoy the wait

At this stage, **be patient**. There is some delay completion of the `release:perform` step and the artifacts being
available in Maven Central. This is of the order of an hour. You can keep refreshing https://search.maven.org/search?q=g:com.twosigma.webtau%20AND%20a:webtau&core=gav
At this stage, **be patient**. There is some delay between completion of the `release:perform` step and the artifacts being
available in Maven Central. This will be at least an hour. You can keep refreshing https://search.maven.org/search?q=g:com.twosigma.webtau%20AND%20a:webtau&core=gav
until you see your version.

0 comments on commit 07cd55d

Please sign in to comment.
You can’t perform that action at this time.