Create a new release in just a few steps:
-
Make sure you're on the master branch, and pull the latest changes.
git checkout master git pull origin master
-
Create a new branch in the shape of
master#release#v<MAJOR.MINOR.PATCH>
and push it to the remote repositoryFor example, for the
v1.0.0
version:git checkout -b master#release#v1.0.0 git push origin master#release#v1.0.0
-
You will be assigned to a Pull Request in the GitHub repository, after the GitHub workflow finishes running. You can check its status here, by looking at the
Create Release PR
workflow. -
Ask for a Pull Request review from your team or the project owners. After getting it approved and ready to go, squash and merge it.
-
The PR merge will trigger a GitHub workflow, which will create a tag, a new release, package the build artifacts and attach them to the newly created release.
-
A new PR will be created, which will bump the
project.go
version to a development one. Approve it, merge it and move on. -
Edit your newly created release and add release notes.
-
Update the
krew-index
repository automatically by approving theupdate-krew
CircleCI workflow. A Pull Request to thekrew-index
repository will be created and merged automatically (by robots 🤖). -
🎉 Celebrate by announcing the fresh release on Slack!