Usually this will be the current master/HEAD
git checkout master
git pull --ff-only
Run all required tests
After testing the commit on device you have to tag current commit:
git tag release-x.y.z
Tag has to start with release- pefix otherwise it will not be treated
as a commit to create release from.
Then you have to push the tag to the repository:
git push origin release-x.y.z
Pushing the tag to Github will start the release process, which will try to do following steps:
To track the progress you can look at actions After release is successfully build you have to manually publish it on github releases page
On release page click the release title, in it's subpage on the top right you will see the "Delete" button -> click it.
git tag --delete release-x.y.z
Delete with --delete flag
git push --delete origin release-x.y.z
or by refs syntax
git push origin :refs/tags/release-x.y.z