In oder to make release the following steps are required
- Switch to
master
branchgit checkout master
- Checkout lastest revision of
master
branchorgit pull
git reset --hard origin/master
- Create
release-x.y.z
branch, where x - major release version, y - minor version and z - patch versiongit checkout -b release-x.y.z
- Update
VERSION
file - Update
CHANGELOG.md
file - Make commit with message
Preparing release x.y.z
, where x - major release version, y - minor version and z - patch version - Push
release-x.y.z
toorigin
- Switch to
releases
branchgit checkout releases
- Checkout lastest revision of
releases
branchorgit pull
git reset --hard origin/releases
- Merge
release-x.y.z
branch you created earlier intoreleases
branch - Push
releases
toorigin
- Go to project's GitHub page
- Navigate to "releases" menu
- Press "Draft a new release"
- Select
releases
branch to draft a new release from - In the "Tag version" field enter release full version in the following format:
v{major_version}.{minor_version}.{patch version}
. - In the "Describe this rlease" field enter chenglelog in the following format:
Dockovpn v1.1.0
- Feature 1
- Feature 2
- ...
- Feature n
- Press "Publish release"
- Login to
hub.docker.com
and make sure the automated build was triggered - After automated build on
hub.docker.com
done, create pull request to mergereleases
branch intomaster