Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.44 KB

BRANCH-AND-RELEASE.md

File metadata and controls

43 lines (35 loc) · 1.44 KB

Branch model & Release process

Branch model

Follow successful git branch model

Release process

  1. git branch release/vx.x.x && git checkout release/vx.x.x

  2. Check protobuf version tag to target aergo version and update it if necessary.

  3. Check annotations CHANGELOG.MD and docs.

  4. Change aergo version of test (in ./test/aergo.properties) and integration test with it.

  5. Update version to x.x.x in gradle.properties, README.md and CHANGELOG.MD.

  6. git add . && git commit -m "Prepare for vx.x.x" && git push origin

  7. If 5 success in travis ci, git tag vx.x.x && git push origin vx.x.x

  8. 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
  9. Upload heraj-x.x.x-all.jar file to releases.

    # Making heraj-x.x.x-all.jar
    > ./gradlew clean shadowJar
  10. git checkout master && git merge release/vx.x.x

  11. git checkout develop && git merge release/vx.x.x

  12. Update version to x.x.x-SNAPSHOT in gradle.properties and git commit -m "Start new version" && git push origin"