Skip to content

fix(release): fail closed on local tooling - #77

Merged
GSTJ merged 1 commit into
mainfrom
fix/fail-closed-release-tools
Aug 17, 2026
Merged

fix(release): fail closed on local tooling#77
GSTJ merged 1 commit into
mainfrom
fix/fail-closed-release-tools

Conversation

@GSTJ

@GSTJ GSTJ commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

We now run the installed changelog library directly and guard release tags before updating them. Missing dependencies fail locally, published tags stay untouched, and changelog dates replay consistently.

Details

  • Freezes the published v1.3.1 through v1.3.8 notes verbatim while future headings keep git's recorded calendar date.
  • Disables same-version npm bumps and replaces the force-tag shell command with a deterministic atomic ref update.
  • Refuses to change tags already present on origin, non-release commits, dirty worktrees, and unexpected annotations.
  • Adds release-tool controls to every test run for the missing-dependency and tag safety paths.

Testing steps

  1. From the root of the checked-out repository, run:

    pnpm install --frozen-lockfile
    pnpm run changelog:check
    pnpm run release:check
  2. Confirm the changelog check reports a passing policy and negative control.

  3. Confirm the release check reports all controls as passing.

Run conventional-changelog through its installed API so a missing dev dependency cannot reach npx registry fallback.

Guard annotated tag finalization against published refs and unexpected local state. Freeze published changelog sections before normalizing future release dates.
@github-actions

Copy link
Copy Markdown

馃帀 Congratulations on making your first pull request in '@gstj/safe-jsx'! We appreciate your contribution and will review it as soon as possible. Thank you for helping us make this project better.

@GSTJ
GSTJ marked this pull request as ready for review August 17, 2026 13:33
@GSTJ
GSTJ merged commit 13b117b into main Aug 17, 2026
5 checks passed
@GSTJ
GSTJ deleted the fix/fail-closed-release-tools branch August 17, 2026 13:35
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