GitHub Actions Release Workflow Builder

Automate GitHub releases with changelogs and asset uploads

Generate a GitHub Actions release workflow that triggers on version tags, builds your artifacts, auto-generates release notes from commit history, and uploads build assets to the GitHub Release — using the built-in GITHUB_TOKEN, no extra secrets.

What triggers this workflow?

It triggers on pushing a Git tag that matches your pattern, such as v1.2.0. Pushing the tag with `git push origin v1.2.0` starts the run, builds artifacts, and publishes a GitHub Release for that tag.

When you tag a version, you usually want the same things to happen every time: build the artifacts, attach them, and publish notes. This generator builds a GitHub Actions workflow that fires on a version tag, runs your build, auto-generates release notes from commit history, and uploads your assets to a GitHub Release.

How it works

The workflow listens on a push event filtered to tags matching your pattern. On a match it:

  1. Checks out the full history so the changelog action can diff against the previous tag.
  2. Runs your build command to produce the release artifacts.
  3. Calls softprops/action-gh-release, which creates the release for the pushed tag, sets generate_release_notes: true, and uploads every file matching your asset globs.

It needs only the built-in GITHUB_TOKEN with contents: write permission — no personal access token.

Tips and notes

  • Use a tag pattern like v* so only version tags publish releases, not every tag.
  • Generated notes summarize merged pull requests since the last tag; write clear PR titles for clean changelogs.
  • Provide multiple asset globs (one per line) to attach binaries for several platforms in a single release.
  • For signed or checksummed assets, add a step before the release that produces the .sha256 files and include them in the globs.