Skip to content

Run the release-path check in CI - #1

Merged
heitorsDev merged 2 commits into
mainfrom
feat/verify-release-path-in-ci
Aug 18, 2026
Merged

heitorsDev merged 2 commits into
mainfrom
feat/verify-release-path-in-ci

Conversation

@heitorsDev

Copy link
Copy Markdown
Owner

scripts/verify-release.sh asserts all 15 version-bump cases by replaying release.yml's own shell against throwaway git repos — but nothing enforced that anyone ran it. That's the one path a later fix can't repair: a wrong bump means a wrong tag is already pushed and a Release already published.

  • CI now runs it on the Linux leg of every PR. Bash + real git repos, hence Linux only; the bump module underneath is unit-tested on both legs, so the Windows leg loses no coverage of the rule itself.
  • Second commit fixes docs that still named next-version.js / service.js after the TypeScript move. ADR 0002 keeps its .js paths with a note pointing at ADR 0003 — the decision it recorded stands, only the extension changed, and rewriting an accepted ADR isn't the move.

Merging this also exercises release.yml end to end for the first time: feat/* → main with no existing tags should produce v0.1.0.

Verified locally: npm run verify green, scripts/verify-release.sh 15/15.

🤖 Generated with Claude Code

heitorsDev and others added 2 commits August 18, 2026 10:43
verify-release.sh asserts all 15 bump cases by replaying release.yml's own
shell, but nothing enforced that anyone ran it — the one path that cannot be
caught after the fact, since a wrong bump means a wrong tag already pushed.

Linux leg only: the script needs bash and builds throwaway git repos. The
bump module underneath it is unit-tested on both legs, so the Windows leg
loses no coverage of the rule itself.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
AGENTS.md and release-check.md still named next-version.js and service.js,
so the instructions pointed at files that no longer exist. ADR 0002 keeps
its .js paths — it recorded a decision that stands, and 0003 is what changed
the extension — with a note saying so instead of a rewrite.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@heitorsDev
heitorsDev merged commit 6032613 into main Aug 18, 2026
2 checks passed
@heitorsDev
heitorsDev deleted the feat/verify-release-path-in-ci branch August 18, 2026 13:47
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