Skip to content

ci: add tagpr for automated release management#48

Merged
sivchari merged 3 commits intomainfrom
feat/tagpr-release
Feb 17, 2026
Merged

ci: add tagpr for automated release management#48
sivchari merged 3 commits intomainfrom
feat/tagpr-release

Conversation

@sivchari
Copy link
Copy Markdown
Owner

Summary

Add tagpr for automated release management.

What tagpr does

  1. When commits are pushed to main, tagpr creates a release PR automatically
  2. The release PR updates version in Cargo.toml files
  3. When the release PR is merged, tagpr creates a git tag and GitHub Release

Changes

  • .github/workflows/tagpr.yml - GitHub Actions workflow
  • .tagpr - Configuration file
    • vPrefix = true - Use v prefix for tags (e.g., v0.1.0)
    • versionFile = engine/Cargo.toml,server/Cargo.toml - Files to update version

How to release

  1. Merge PRs to main as usual
  2. tagpr automatically creates/updates a release PR
  3. When ready to release, merge the release PR
  4. Tag and GitHub Release are created automatically

Note

After merging this PR, enable "Allow GitHub Actions to create and approve pull requests" in:
Settings > Actions > General > Workflow permissions

- Add tagpr workflow to create release PRs automatically
- Configure version files: engine/Cargo.toml, server/Cargo.toml
- Use v-prefix for tags (v0.1.0, v0.2.0, etc.)
- Add VERSION file with current version (0.1.0)
- Update .tagpr to use VERSION file
- Simpler than tracking multiple Cargo.toml files
- Remove VERSION file
- Configure tagpr to update all 3 Cargo.toml files
- versionFile = engine/Cargo.toml,server/Cargo.toml,cli/Cargo.toml
@sivchari sivchari merged commit cc35704 into main Feb 17, 2026
1 check passed
@sivchari sivchari deleted the feat/tagpr-release branch February 17, 2026 05:58
@github-actions github-actions bot mentioned this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant