q-shift / backstage-plugins

Apache License 2.0
3 stars 7 forks source link

fix: calculation for next version #70

Closed jacobdotcosta closed 5 months ago

jacobdotcosta commented 5 months ago

Change the way the next version is being calculated by replacing npm with yarn as yarn is the package manager being used by this project. See #66

jacobdotcosta commented 5 months ago

It does work locally. It seems that the parsing of the step is removing the 2 slashes that go before the version type.

This is what I tested locally.

$ A=patch
$ yarn version --${A} --no-git-tag-version --cwd plugins/quarkus/
yarn version v1.22.19
info Current version: 0.1.27
info New version: 0.1.28
Done in 0.07s.