Skip to content

How to release a new version

aliksbright edited this page May 18, 2020 · 15 revisions

Release process

Now you can release NaB here:

https://release.pyn.ru/issues/library

You need Jira task in need release status. Just the same application release process.

If you have some problems, please check version in .hh-release.yaml

Old release process (outdated, please don't use)

  1. Merge your branch into master:
git checkout master && git pull
git merge --no-ff origin/<JIRA-ID>
  1. Prepare and release the build:
mvn release:prepare
mvn release:perform
  1. Please write a brief description of your release on this page: releases

IMPORTANT NOTICE: Read before release

In case when you have intention to make some tricky changes in nuts-and-bolts with uncertain impact (corner case bugs, performance affect), but you want to give it a go in some real service for testing purpose:

  1. Create specific feature branch with the changes and build releases from it without any push to master, until branch is proven to work
  1. Release naming convention: current release version with sensible postfix (example: if now release version 4.22.19, you should create version 4.22.19-<lib_name or some_changes_name>)
  1. Release cmd are still:
mvn release:prepare
mvn release:perform
  1. If the branch becomes behind master, you can rebase it on top, or you can merge actual master into the branch When tests are finally passed - merge your branch to master and release final nuts-and-bolts release with general version w/o postfixes