Before creating a new release please do a careful consideration about the version number for the new release. We are following Semantic Versioning with GSA 8.
-
Fetch upstream changes and create release branch
git fetch upstream git checkout -b create-new-release upstream/master
-
Open CMakeLists.tx and increment the version number and check PROJECT_BETA_RELEASE. PROJECT_BETA_RELEASE must be unset for a non pre-release.
-
Check gsa version at the about page.
-
Test the build
mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j6
-
Update CHANGES.md
-
Create a git commit
git add . git commit -m "Prepare release <version>"
-
Create an annotated git tag
git tag -a v<version>
or even better a signed tag with your gpg key
git tag -s v<version>
-
Update version in CMakeLists.tx
-
Create a commit
git commit -m "Update version after <version> release"
-
Push changes and tag to Github
git push --tags upstream master
-
Create a Github release