Add release-tag automation helper #50
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
#48 documented release/version tagging rules but deferred automation. A safe helper reduces manual mistakes when creating annotated release tags.
Goal
Add
scripts/release-tagto automate the documented release checklist without bypassing safety gates.Required behavior
vMAJOR.MINOR.PATCH.master!= remotemaster, HEAD not on remotemaster, or an existing local/remote tag of the same name../venv/bin/python -m pytest tests/ -q);--skip-testsonly with an explicit flag + clear warning.--dry-run(no changes),--notes-file <path>,--push(no push unless given).Tests
Valid/invalid SemVer; dirty worktree; non-master; master/remote mismatch; existing tag; dry-run creates nothing; annotated-not-lightweight; push only with
--push;--skip-testswarns;--notes-filehandling. Use temp git repos + local remotes (no network, no pushing from tests, no real tags in this repo).Docs
Update
docs/llm-workflow-runbooks.md,skills/llm-project-workflow/SKILL.md, andskills/llm-project-workflow/templates/release-tag.md; README if appropriate.Non-goals
No full changelog generation; no change to MCP runtime, Gitea API ops, credential storage, or other helpers.
Refs #48.
Merged PR #53 for issue #50 as merge commit
6089ec724a. Validation passed: bash -n scripts/release-tag; pytest tests/test_release_tag.py -q; full pytest tests/ -q; git diff --check; changed-file secret scan. No real release tags were created or pushed during review.