Skip to content
tagpr documentation

tagpr documentation

tagpr is a custom GitHub Action that prepares release contents in a pull request, then uses the resulting version tag as the starting point for the project-specific release flow.

It creates a release pull request that collects unreleased changes, then automatically tags the merge commit when that pull request is merged. By default, it also creates a GitHub Release and generates a changelog.

Automating the preparation before tagging keeps release contents visible and reviewable. Automating the required release-time changes also reduces manual work, dependence on individual maintainers, and mistakes.

The release PR branch diverges from the release branch and merges back at the tagged release commit

Start here

Common goals

GoalDocumentation
Install tagprGetting started
Adopt tagpr in an existing projectAdoption guide
Release without a version fileTag-only releases
Select a major or minor versionVersioning and label rules
Use Calendar VersioningConfiguration index
Release projects in a monorepoConfiguration index
Customize changelog categoriesChangelog and GitHub Releases
Customize the release pull requestRelease pull request templates
Run project-specific release changesRelease preparation commands
Run the release in the same workflowTagging and release
Trigger a separate release workflowTagging and release
Publish assets with immutable releasesCoordinating Immutable Releases
Reuse a tagpr draft with GoReleaserCoordinating Immutable Releases
Diagnose a setup problemREADME troubleshooting

Reference

The complete configuration, GitHub Action inputs, outputs, environment variables, and GitHub Enterprise instructions currently remain in the README . They will stay there until equivalent standalone reference pages are complete, so no documentation is lost during the transition to a documentation site.