Hey friends,
Thanks for providing this awesome continuous releases tool!
Since yesterday, I have been running in the following errors when trying to publish a package (here is the action run)
Run npx pkg-pr-new publish --compact --comment=update --bin --no-template './javascript/packages/formatter' './javascript/packages/linter' './javascript/packages/language-server'
npx pkg-pr-new publish --compact --comment=update --bin --no-template './javascript/packages/formatter' './javascript/packages/linter' './javascript/packages/language-server'
shell: /usr/bin/bash -e {0}
npm warn exec The following package was not found and will be installed: [email protected]
Error: git rev-parse HEAD exited with a status of 128.
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
at normalizeResult (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/@jsdevtools/ez-spawn/lib/normalize-result.js:31:11)
at ChildProcess.<anonymous> (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/@jsdevtools/ez-spawn/lib/async.js:79:19)
at ChildProcess.emit (node:events:524:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
Error: git rev-parse HEAD exited with a status of 128.
fatal: not a git repository (or any of the parent directories): .git
Error: Process completed with exit code 1.
It looks like this was introduced in #470
There is a good chance that I have been "abusing" the fact that it didn't need a git repository present to publish a package, but I thought it might be worth reporting anyway.
Would it make sense to skip that commit sha parsing if no git repository is found?
Thank you!
Hey friends,
Thanks for providing this awesome continuous releases tool!
Since yesterday, I have been running in the following errors when trying to publish a package (here is the action run)
It looks like this was introduced in #470
There is a good chance that I have been "abusing" the fact that it didn't need a git repository present to publish a package, but I thought it might be worth reporting anyway.
Would it make sense to skip that commit sha parsing if no git repository is found?
Thank you!