Skip to content

Instantly share code, notes, and snippets.

@paambaati
Created June 15, 2023 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paambaati/54a0ef43f7497da1c9af316d64acced0 to your computer and use it in GitHub Desktop.
Save paambaati/54a0ef43f7497da1c9af316d64acced0 to your computer and use it in GitHub Desktop.
Debug git for semantic-release
#DEBUG
git notes --ref semantic-release list
# REFER: https://github.com/semantic-release/semantic-release/blob/master/docs/support/troubleshooting.md#release-not-found-release-branch-after-git-push---force
git tag --delete v4.0.0
git push --delete origin v4.0.0
git tag v4.0.0 cdbb31e9cece505753becbfccc7ab64665a4cca5 # Commit that created the release
git notes --ref semantic-release add -f -m '{"channels":[null]}' v4.0.0
git push --force origin refs/notes/semantic-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment