Skip to content

Latest commit

 

History

History
65 lines (55 loc) · 3.92 KB

File metadata and controls

65 lines (55 loc) · 3.92 KB

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

Goal Documentation
Install tagpr Getting started
Adopt tagpr in an existing project Adoption guide
Release without a version file Tag-only releases
Select a major or minor version Versioning and label rules
Use Calendar Versioning Configuration index
Release projects in a monorepo Configuration index
Customize changelog categories Changelog and GitHub Releases
Customize the release pull request Release pull request templates
Run project-specific release changes Release preparation commands
Run the release in the same workflow Tagging and release
Trigger a separate release workflow Tagging and release
Publish assets with immutable releases Coordinating Immutable Releases
Reuse a tagpr draft with GoReleaser Coordinating Immutable Releases
Diagnose a setup problem README 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.