No previous release found
on a project which has previous releases and tags
#2486
Labels
bug
Something isn't working
I'm trying to set up Auto as our release tool. I've written a GitHub workflow which does the following:
Looking at the
-vv
output forshipit
orrelease
I see the following:The project has several releases on GitHub:
v0.0.0
andv.0.0.1
. I also tried tagging and naming these releases0.0.0
and0.0.1
just to understand the behavior of Auto.I've tried setting the version in
package.json
to both0.0.0
andv0.0.0
.I've added the
minor
label to a previous PR merged on the branch andauto version
showsminor
as expected. TheCHANGELOG
is also generated and shown as expected, but then Auto exits with:I've tried running the app locally with a token with the same permissions as the GitHub workflow and with a GitHub PAT which has all permissions set to read and write, with no luck.
My
package.json
has the following"auto"
section:No matter what I try, Auto refuses to detect the previous releases and/or release a new release.
To Reproduce
auto shipit -vv
orauto release -vv
Expected behavior
Auto releases a minor version bump.
Screenshots
Environment information:
The text was updated successfully, but these errors were encountered: