ci: auto-tag releases on merge to main #3
Loading…
Reference in a new issue
No description provided.
Delete branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
.forgejo/workflows/auto-tag.yml: on push tomain, reads the version frompyproject.toml, and if avX.Y.Ztag for it doesn't already exist andCHANGELOG.mdhas a matching## [X.Y.Z]entry, creates and pushes that tag itself. This removes the last manual step from the release workflow (documented in CLAUDE.md, updated here) — merging an MR tomainis now enough, no moregit tagby hand.Also updates
CLAUDE.md's documented release workflow and adds a CHANGELOG note.Note
Since PR #2 (0.4.0) already merged,
maincurrently haspyproject.tomlat0.4.0and a matching## [0.4.0]CHANGELOG entry, but nov0.4.0tag exists yet. Merging this PR will make the new auto-tag job run immediately on the resulting push tomain, which should create and pushv0.4.0right away — completing the pending 0.4.0 release as a live test of this workflow.Test plan
pre-commit run check-yaml)auto-tagjob runs on themainpush, creates tagv0.4.0docker.yml(tests + docker build + release)