raycast / extensions

Everything you need to extend Raycast.

Home Page:https://developers.raycast.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

duranbe opened this issue · comments

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