Skip to content

docs: release-process accuracy (workflow_dispatch ref + merge-style + version scheme) - #173

Merged
flupkede merged 3 commits into
developfrom
docs/release-process-accuracy
Jul 29, 2026
Merged

docs: release-process accuracy (workflow_dispatch ref + merge-style + version scheme)#173
flupkede merged 3 commits into
developfrom
docs/release-process-accuracy

Conversation

@flupkede

Copy link
Copy Markdown
Owner

Three release/versioning-process accuracy fixes, the follow-ups flagged after #171 (auto patch-bump workflow) shipped.

1. release.yml — pin checkout ref (functional, ~#161)
Both actions/checkout steps (build + build-macos jobs) had no ref:. On workflow_dispatch the action checks out the repo default branch (master-tip), but the release job labels the GitHub Release/artifacts with inputs.version -> you publish binaries labeled as a version they were not built from. Now ref: resolves to refs/tags/<inputs.version> on dispatch; on tag push github.ref is already the tag, unchanged.

2. RELEASING.md — correct merge style + version scheme

  • Feature->develop is a merge commit (--merge), NOT squash — the doc said 'Squash merge' (line 36 + line 64). Only develop->master release PRs are squash.
  • Version-bumps rule rewritten: patch auto-bumps +1 on every PR merged to develop (CI, ci: auto bump patch version on PR-merge to develop #171); minor is manual at release (bump-version.sh --type minor, resets patch->0). No longer claims 'no auto-bump'.

3. AGENTS.md — fix stale auto-bump claim
Line 7 claimed the pre-commit hook auto-bumps patch per commit on feature branches — doubly wrong (hook does cargo fmt only; auto-bump is now CI on PR-merge). Rewrote to the actual scheme; bumped the doc date.

Validation: release.yml YAML re-parses (yaml.safe_load). No Rust touched -> no cargo needed.

Out of scope (separate reconcile): AGENTS.md still lists the two locked items (find_impact routing, TypeScript SCIP) as open in ## Open TODOs though both are merged (#163, #167). Not touched here.

Test User added 3 commits July 29, 2026 16:06
…commit)

Both checkout actions (build + build-macos jobs) had no ref:, so a manual workflow_dispatch checked out the default branch (master-tip) while the release job labeled artifacts with inputs.version -> binaries labeled as a version they were not built from (#161-class mismatch). Pin ref so dispatch builds refs/tags/<inputs.version>; on tag push github.ref is already the tag, unchanged.
Feature->develop uses merge commits (--merge), not squash (git log is full of 'Merge pull request #N'); only develop->master release PRs are squash. Also update the Version-bumps rule: patch now auto-bumps +1 on every PR merged to develop via .github/workflows/bump-develop.yml (shipped in #171); minor stays manual at release via bump-version.sh --type minor (resets patch->0).
The 'pre-commit hook auto-bumps patch per commit on feature branches' claim was doubly wrong: the hook runs cargo fmt only (auto-bump was deliberately removed), and patch auto-bumping now happens via CI on PR-merge-to-develop (bump-develop.yml). Rewrote line 7 to describe the actual semver scheme; bumped _Last updated_ to 2026-07-29.
@flupkede
flupkede merged commit 03259df into develop Jul 29, 2026
2 checks passed
@flupkede
flupkede deleted the docs/release-process-accuracy branch July 29, 2026 17:48
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