next-ver
next-ver copied to clipboard
Not working if main branch is not named "master"
I renamed master branch to main and it stopped working:
GitHub Actions output:
Run yarn next-ver --go
yarn run v1.22.18
$ /home/runner/work/magic/magic/node_modules/.bin/next-ver --go
/home/runner/work/magic/magic/node_modules/q/q.js:87[6](https://github.com/Frank-Mayer/magic/runs/6032304461?check_suite_focus=true#step:7:6)
throw error;
^
fatal: couldn't find remote ref master
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Node.js v1[7](https://github.com/Frank-Mayer/magic/runs/6032304461?check_suite_focus=true#step:7:7).[9](https://github.com/Frank-Mayer/magic/runs/6032304461?check_suite_focus=true#step:7:9).0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.