Skip to content

Add a Move tag workflow (to finish the history cleanup) - #12

Merged
Amet13 merged 1 commit into
mainfrom
claude/jolly-euler-otjl5h
Nov 25, 2026
Merged

Amet13 merged 1 commit into
mainfrom
claude/jolly-euler-otjl5h

Conversation

@Amet13

@Amet13 Amet13 commented Nov 25, 2026

Copy link
Copy Markdown
Owner

What

main has been rewritten to drop the 238 MB of fuzz build output that was committed by mistake. The trees are identical before and after, and all 171 commits are kept. The v0.2.0 tag still points at the old copy of its commit (4991950), which keeps the old history reachable. This session can't push tags, so this PR adds a small workflow that moves a release tag from the Actions tab.

Move tag (.github/workflows/move-tag.yml, manual only):

  • moves an existing v* tag to a given commit;
  • refuses unless that commit has exactly the same files (same tree) as the tagged commit;
  • refuses unless the commit is on the default branch;
  • leaves the GitHub Release and its files attached to the tag name.

It is documented in docs/releasing.md.

After merging

Actions → Move tag → Run workflow with:

  • tag: v0.2.0
  • commit: 02a6e2e859673ee98b2ec8abc4ed17d1ae2ee36e

That commit is the rewritten "Merge pull request #10", whose tree (fe649be) is identical to the current v0.2.0 tree.

Testing

I ran the check logic locally against the real commits:

  • 02a6e2e → OK;
  • 9e8b3f9 → refused (different files);
  • 4991950 → refused (not on main).

The YAML parses.


Generated by Claude Code

… rewrite

Moves an existing release tag only if the new commit has the same tree as the
tagged commit and is on the default branch. Needed now to point v0.2.0 at the
rewritten copy of its commit (02a6e2e, identical files), since this session
cannot push tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xj9ekcxX6iwfrVxah4Jejo
@Amet13
Amet13 merged commit e2c0eab into main Nov 25, 2026
11 checks passed
@Amet13
Amet13 deleted the claude/jolly-euler-otjl5h branch November 25, 2026 21:28
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.

2 participants