Skip to content

fix: pass fresh ref from version-tag to release, avoiding stale checkout - #3

Merged
nielsweistra merged 1 commit into
mainfrom
fix/release-stale-checkout
Aug 14, 2026
Merged

fix: pass fresh ref from version-tag to release, avoiding stale checkout#3
nielsweistra merged 1 commit into
mainfrom
fix/release-stale-checkout

Conversation

@nielsweistra

Copy link
Copy Markdown
Member

The release job in _reusable-claude-plugins-publish.yml runs in a fresh checkout of the original triggering ref and never saw the commit version-tag had just pushed — so it resolved the plugin's previous version from plugin.json, found that version's release already existed, and silently skipped the real new release. Caught by live end-to-end testing in ITlusions/ITL.Claude.PluginMarketplace (tag nexustrade-plugin--v1.0.3 was correctly created but its release was skipped).

_reusable-claude-plugin-release.yml now accepts a ref input; the publish template passes version-tag's tag output through so release checks out the exact commit that was just tagged.

🤖 Generated with Claude Code

The release job in _reusable-claude-plugins-publish.yml runs in a fresh
checkout and did not see the commit version-tag just pushed, so it
resolved the plugin's PREVIOUS version from plugin.json and found that
version's release already existed — silently skipping the real new
release. _reusable-claude-plugin-release.yml now accepts a 'ref' input;
the publish template passes version-tag's 'tag' output through so
release checks out the exact commit that was just tagged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@nielsweistra
nielsweistra merged commit e53c0e4 into main Aug 14, 2026
4 checks passed
@nielsweistra
nielsweistra deleted the fix/release-stale-checkout branch August 14, 2026 01:54
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