Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM Run Publish - Aborting commit due to empty commit message. #12175

Open
duranbe opened this issue May 4, 2024 · 0 comments
Open

NPM Run Publish - Aborting commit due to empty commit message. #12175

duranbe opened this issue May 4, 2024 · 0 comments
Labels
bug Something isn't working dev tools Dev tools (CLI, Manage Extensions, npm, etc)

Comments

@duranbe
Copy link
Contributor

duranbe commented May 4, 2024

Description

When running first npm run publish, but then closing the PR and deleting the branch on fork, it seems impossible to re-run the npm run publish command again as it's erroring out

wait  -  pushing extension.failed running git command 'git add "/Users/<MY_USER>/.config/raycast/public-extensions-fork/extensions/string-utils" && git commit -m ""', exit status 1

Aborting commit due to empty commit message.

My fix for that was to delete the tag associated, with git tag -d __raycast_latest_publish_ext/string-utils__

Steps To Reproduce

1 - Create dummy extension
2 - Run npm run publish
3 - Close PR & Branch
4 - Re-run npm run publish

Current Behaviour

Errors out with Aborting commit due to empty commit message.

Expected Behaviour

Should be able to re-publish extension

@duranbe duranbe added bug Something isn't working dev tools Dev tools (CLI, Manage Extensions, npm, etc) labels May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev tools Dev tools (CLI, Manage Extensions, npm, etc)
Projects
None yet
Development

No branches or pull requests

1 participant