Skip to content

fix(release): stop pushing release commit to main - #61

Merged
scscodes merged 1 commit into
mainfrom
develop
Jul 3, 2026
Merged

fix(release): stop pushing release commit to main#61
scscodes merged 1 commit into
mainfrom
develop

Conversation

@scscodes

@scscodes scscodes commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Why

The 2.13.0 release run failed at @semantic-release/git's prepare step: it pushes a version-bump commit (CHANGELOG.md + package.json) directly to main, which the main-default ruleset (PR required, no bypass actors) rejects with GH013. The run aborted before tagging/publishing — no v2.13.0 tag, GitHub release, or Marketplace publish exists, so the retry is clean.

What

  • Remove @semantic-release/git and @semantic-release/changelog from .releaserc.json and devDependencies
  • CHANGELOG.md now points to GitHub Releases (the plugin-written changelog was never committable under the ruleset)

VSIX versioning is unaffected: semantic-release-vsce stamps the computed version into package.json in the CI workspace before packaging. Repo package.json intentionally stays at the last-committed version; git tags + GitHub Releases are the source of truth.

Merging this PR re-triggers the publish workflow and should cut 2.13.0 (feat commits since v2.12.0 are already on this branch).

🤖 Generated with Claude Code

Drop @semantic-release/git and @semantic-release/changelog: the main
ruleset (PR required, no bypass actors) rejects the version-bump push,
aborting the release before tag/publish. VSIX versioning is unaffected
(semantic-release-vsce stamps package.json in the CI workspace); release
notes live in GitHub Releases. CHANGELOG.md now points there.
@scscodes
scscodes merged commit 9bf7b98 into main Jul 3, 2026
2 checks passed
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant