Skip to content

Commit 2fd10dd

Browse files
committed
Add release instructions
1 parent 1de924a commit 2fd10dd

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

RELEASE.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
JavaSDK Releases
2+
================
3+
4+
The release process for JavaSDK is as follows:
5+
6+
1. Ensure all required changes have been merged
7+
8+
1. Check out the master branch and ensure there are no local changes
9+
10+
1. Change version of JavaSDK, *{major}.{minor}.{patch}*, e.g. 1.0.0:
11+
`mvn versions:set -DgenerateBackupPoms=false -DartifactId=* -DgroupId=com.opengamma.sdk`
12+
13+
1. Create Git commit, with message such as "Release v1.0.0", and push
14+
15+
1. Add Git tag (beginning with `v`):
16+
`git tag -a v1.0.0 -m "Release v1.0.0"`
17+
18+
1. Push the tag:
19+
`git push --follow-tags`
20+
21+
1. Travis will automatically detect the new tag and perform a build.
22+
Being a release tag, beginning with `v`, additional operations are triggered during the build which
23+
will perform the deployment to Bintray.
24+
Note that there will be a concurrent build for the earlier push to master which will behave normally.
25+
26+
1. At Bintray, publish the files.
27+
Edit the description of the version, adding the release date, description and VCS tag.
28+
Ensure the readme and release notes tags are correctly setup.
29+
30+
1. Publish the version to Maven Central from Bintray using the appropriate password.
31+
32+
1. Bump version of JavaSDK to SNAPSHOT, e.g. 1.1.0-SNAPSHOT:
33+
`mvn versions:set -DgenerateBackupPoms=false -DartifactId=* -DgroupId=com.opengamma.sdk`
34+
35+
1. Create Git commit, with message such as "Bump version", and push

0 commit comments

Comments
 (0)