When you want to create a release tag, here is the process:
I use RELEASE_VERSION to represent the version to be released. The version must follow a format. For example, 0.2.3 is a valid release version, 0.2.3-SNAPSHOT is not a valid release version.
Modify CHANGELOG.md to add JIRA's
Update version in docs/_config.yml
Bump the gearpump version in version.sbt
version in ThisBuild := "RELEASE_VERSION"
Run dev-tools/create_apache_source_release.sh $GPG_KEY $GPG_PASSPHRASE
svn add gearpump-* to https://dist.apache.org/repos/dist/dev/incubator/gearpump/RELEASE_VERSION-incubating/RC[0-9]
svn add KEYS to https://dist.apache.org/repos/dist/dev/incubator/gearpump/
git tag RELEASE_VERSION
git remote add upstream https://github.com/apache/incubator-gearpump
git push upstream RELEASE_VERSION
Bump the gearpump version in version.sbt
version in ThisBuild := "NEXT_SNAPSHOT_VERSION"
where NEXT_SNAPSHOT_VERSION must end with “-SNAPSHOT”. For example, 0.2.3-SNAPSHOT is a good snapshot version, 0.2.3 is NOT
Create JIRA for new release
Make PR with new release