auto icon indicating copy to clipboard operation
auto copied to clipboard

`auto shipit` doesn't bump the version nor release the package

Open jeanfredrik opened this issue 2 years ago • 0 comments

Describe the bug

I'm using auto in the release workflow for https://github.com/whitespace-se/storybook-addon-html, but it does not make new releases the way it's expected. When the workflow is run it first states that the bump should be minor (from 5.0.3 to 5.1.0) and it generates the changelog for 5.1.0 as expected, but then it states that "Nothing released to Github. Version to be released is the same as the latest release on Github: 5.0.3" and nothing gets released or published. When running with the -d flag however it says "Would have created a release on GitHub for version: 5.1.0"

To Reproduce

  1. Checkout https://github.com/whitespace-se/storybook-addon-html
  2. Run yarn install
  3. Run yarn release

Expected behavior

I expected the yarn release to bump the version and release the package according to the bump that is stated in the beginning of the output (i.e. minor) from the auto shipit command.

Environment information:

Environment Information:

"auto" version: v10.37.6
"git"  version: v2.38.1
"node" version: v16.16.0

Project Information:

✔ Repository:      whitespace-se/storybook-addon-html (​https://github.com/whitespace-se/storybook-addon-html​)
✔ Author Name:     Fredrik Johansson
✔ Author Email:    [email protected]
✔ Current Version: v5.0.3
✔ Latest Release:  v5.0.3 (​https://github.com/whitespace-se/storybook-addon-html/releases/tag/v5.0.3​)

✔ Labels configured on GitHub project 

GitHub Token Information:

✔ Token:            [Token starting with ghp_]
✔ Repo Permission:  admin
✔ User:             jeanfredrik
✔ API:              undefined (​undefined​)
✔ Enabled Scopes:   repo
✔ Rate Limit:       4386/5000

jeanfredrik avatar Dec 09 '22 11:12 jeanfredrik