- Checkout to a latest
master
branch version
git checkout master
git pull
- Create a version tag in
master
branch
VERSION="<VERSION>"
git tag -a "$VERSION" -m "Version $VERSION"
- Create a latest tag in
master
branch
git tag -f -a "latest" -m "Latest released version"
- Push tags
git push origin "$VERSION"
git push -f origin latest
- Create release
gh release create "$VERSION" --generate-notes