changesets-gitlab
changesets-gitlab copied to clipboard
Error: Have you forgotten to install `@changesets/cli` in
When install it globaly, not found @changesets/cli
$ yarn global add [email protected] @changesets/[email protected]
$ changesets-gitlab
::set-output name=published::false
::set-output name=publishedPackages::[]
setting git user
[command]/usr/bin/git config user.name ******
[command]/usr/bin/git config user.email "******"
setting GitLab credentials
[command]/usr/bin/git checkout changeset-release/master
error: pathspec 'changeset-release/master' did not match any file(s) known to git
[command]/usr/bin/git checkout -b changeset-release/master
Switched to a new branch 'changeset-release/master'
[command]/usr/bin/git fetch origin master
From ******
* branch master -> FETCH_HEAD
[command]/usr/bin/git reset --hard origin/master
HEAD is now at f07e379 Merge branch 'testComment' into 'master'
Error: Have you forgotten to install `@changesets/cli` in "******"?
https://github.com/un-ts/changesets-gitlab/blob/10537813caf02de827a192c149e52dc8080f0571/src/run.ts#L181
Mostly this package should be used in project level, but PR welcome to support global installed mode.
any news on this issue ?
Mosty this package should be used in project level, but PR welcome to support global installed mode.
Don't wait for anyone else.