git pullgit branch -c release_2_nngit switch release_2_nn- update VERSION in
getsslandgetssl.spec - update the changelog in
getssl - update the rpm and deb packages in README.md
- create the plain text version of README using
pandoc -t plain README.md > README git commit -m"Update version to v2.nn"git tag -a v2.nn -m"Release 2.nn"git push origin release_2_nngit push --tags
gh auth login- need to login via browser as Personal token doesn't have enough permissionsgh pr create --title "Release 2.nn" --body "Release 2.nn"gh pr merge- Wait for the tests to finish
- Create the release and deb/rpm packages using the deploy github action
gh workflow run "Deploy getssl" --field tags=2.nn - Use
gh run list --workflow="release-and-package.yml"to find the ID - Wait for the build process to finish
gh run watch <ID> - This creates a draft release
Change the status of the release from draft to pre-release (so the deb and rpm packages can be downloaded)
gh release edit v2.nn --draft=false --title "Release 2.nn" --prerelease
- Test that the package can be installed using a cloud instance
- Start an Ubuntu ec2 instance from AWS Console (or Azure or Google Cloud)
- Or use the instant-ec2.sh script from my Github gist to start an Ubuntu ec2 instance
git clone git@gist.github.com:12c297e0645920c413273c9d15edbc68.git instant-ec2./instant-ec2/instant-ec2.sh --start
- ssh into the host
- download the deb package
wget https://github.com/srvrco/getssl/releases/download/v2.nn/getssl_2.nn-1_all.deb - install the deb package
dpkg -i getssl_2.nn-1_all.deb - Check it's installed correctly
getssl --version
gh release edit v2.nn --prerelease=false --latest
git switch mastergit pullgit tag -f -a latest -m "Update latest to v2.nn"git push --force --tags
