Skip to content

fix(release): replace a local action-v tag left by a rejected push on rerun - #280

Merged
adityankale190895 merged 2 commits into
DiffCI:mainfrom
FredApps:fix/release-tags-rerun
Nov 18, 2026
Merged

adityankale190895 merged 2 commits into
DiffCI:mainfrom
FredApps:fix/release-tags-rerun

Conversation

@FredApps

Copy link
Copy Markdown
Contributor

Fixes #279

scripts/release-tags.mjs now creates the annotated action-v<version> tag with -f, like the other two tags. A rerun after a rejected push replaces the local tags it left behind instead of stopping on fatal: tag 'action-v… already exists. The tags on origin are still checked first, so only a tag that was never published is replaced.

New tests/release-tags.test.ts (added to release-files.json) runs the script against a temporary bare origin:

  • a first run pushes all three tags at HEAD
  • a rerun with the three tags already present locally pushes them (this failed before the fix)

Validation: npx tsx --test tests/release-tags.test.ts, npm run typecheck, npm run audit:boundary.

FredApps added a commit to FredApps/core that referenced this pull request Nov 18, 2026
…ffCI#280

The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict.

Signed-off-by: FredApps <[email protected]>
@FredApps
FredApps marked this pull request as ready for review November 18, 2026 00:55
@adityankale190895
adityankale190895 merged commit dac1743 into DiffCI:main Nov 18, 2026
13 checks passed
adityankale190895 pushed a commit that referenced this pull request Nov 18, 2026
…erge-gate (#282)

* fix(ci): do not persist write-scoped checkout tokens in publish and merge-gate

Fixes #281

Signed-off-by: FredApps <[email protected]>

* chore: move the release-files.json entry so it merges cleanly with #280

The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict.

Signed-off-by: FredApps <[email protected]>

---------

Signed-off-by: FredApps <[email protected]>
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.

release:tag: a rerun after a rejected tag push stops on the local action-v tag

2 participants