diff --git a/Makefile b/Makefile index 78017dd7..21978721 100644 --- a/Makefile +++ b/Makefile @@ -93,12 +93,16 @@ gh-release: ## Creates a new release by creating a new tag and pushing it @git add . @git commit -s -m "Bump $(OLD_VERSION) to $(NEW_VERSION) for release" @git tag -sam "$(DESCRIPTION)" $(NEW_VERSION) - @git push $(NEW_VERSION) + @git push origin $(NEW_VERSION) + @echo @echo ATTENTION: MANUAL ACTION REQUIRED!! -- Wait for the release workflow to finish @echo @echo Check status here https://github.com/philips-labs/slsa-provenance-action/actions/workflows/ci.yaml @echo @echo Once finished, push the main branch using 'git push' @echo + @echo Visit https://github.com/philips-labs/slsa-provenance-action/releases + @echo Edit the release and save it to publish to GitHub Marketplace. + @echo @git stash pop diff --git a/release.md b/release.md index f39967b2..77fd63a2 100644 --- a/release.md +++ b/release.md @@ -12,6 +12,9 @@ make gh-release NEW_VERSION=v0.6.0 OLD_VERSION=v0.5.0 DESCRIPTION="A test releas `OLD_VERSION` the current version you wish to replace in the markdown and yaml files. `DESCRIPTION` the annotation used when tagging the release. +Visit . +Edit the release and save it to publish to GitHub Marketplace. + ### ⚠ Important alert for MacOS users ⚠ On MacOS `sed` has different behaviour and therefore doesn't work out of the box. @@ -27,5 +30,7 @@ echo "alias sed=gsed" >> ~/.zshrc 1. Upgrade version number in all repository files, find & replace previous version number with new version number. 1. Commit the changed files. 1. Tag the new commit using `git tag -sam "What is this release about?" v0.1.0`. -1. Push the tag to remote using `git push v0.1.0` +1. Push the tag to remote using `git push origin v0.1.0` 1. Wait for the release workflow to finish, then push the main branch using `git push` +1. Visit . +1. Edit the release and save it to publish to GitHub Marketplace.