Cut a release with downloadable assets by creating a git tag starting with v and pushing it to GitHub. Note that you must push the tag along with an actual commit.

I recommend a workflow of bumping the VERSION file and then pushing that as a release, like so:

# edit VERSION
git commit -m "Releasing v0.0.2"
git tag v0.0.2
git push --tags

If you see a 403 error, you’ll need to adjust the repository permissions. Go to Settings > Acitions > General > Workflow Permissions and choose Read and Write.

Releases are set to prerelease! This means that uploaded release assets are visible to other users (on public repositories), but not explicitly listed as the latest release until you “publish” in the GitHub UI. You can change this in the GitHub workflow yaml file.

I would like the release process to be easier. I’m open to suggestions, please read the options and provide feedback.


Leave a Reply

Your email address will not be published. Required fields are marked *