Follow successful git branch model
-
git branch release/vx.x.x && git checkout release/vx.x.x
-
Check protobuf version tag to target aergo version and update it if necessary.
-
Check annotations
CHANGELOG.MD
and docs. -
Change aergo version of test (in
./test/aergo.properties
) and integration test with it. -
Update version to x.x.x in
gradle.properties
,README.md
andCHANGELOG.MD
. -
git add . && git commit -m "Prepare for vx.x.x" && git push origin
-
If 5 success in travis ci,
git tag vx.x.x && git push origin vx.x.x
-
Upload to sonatype OSSRH repository.
# make sure sonatype OSSRH info # is ready on ~/.gradle/gradle.properties # # eg. # signing.keyId=A1703113 # signing.password=######## # signing.secretKeyRingFile=/Users/devloper/.gnupg/secring.gpg # # ossrhUsername=xxxx # ossrhPassword=xxxx # # after deploy it, login to bintray and click publish button > ./gradlew deploy
-
Upload heraj-x.x.x-all.jar file to releases.
# Making heraj-x.x.x-all.jar > ./gradlew clean shadowJar
-
git checkout master && git merge release/vx.x.x
-
git checkout develop && git merge release/vx.x.x
-
Update version to x.x.x-SNAPSHOT in gradle.properties and
git commit -m "Start new version" && git push origin"