Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
snapcraft: incorrect version is released #1268
Describe the bug
It looks like goreleaser's concurrency can result in the incorrect version of a Snap being released on snapcraft.io.
This is not particularly reproducible, but I've seen it in the last two releases of chezmoi, which has a slightly complex goreleaser snapcraft setup with two builds.
After running goreleaser and pushing snaps, snapcraft.io/chezmoi displays the correct latest version for the
The symptom is described in more detail in this snapcraft.io forum post. The snapcraft folk (thanks Natalia) did some digging on their side and found:
Released snap versions are all the latest version and are all at the latest version.
Apologies for submitting a weird and inconclusive issue.
Looking at the logs:
it seems that the right version was deployed.
But, going further, travis starts with an clean clone AFAIK - and therefore with an empty
I also looked into your previous' release logs to see if maybe it wasn't approved or something, but seems like it was and everything was fine...
I really can't see how goreleaser could have done that... maybe add the debug flag to the release so we can have more info if it happens again?
I'm sorry I'm not being very helpful, but I'm really out of ideas on this one
Thanks so much for looking into this Carlos.
Snapcraft have reported back:
So, this was not a bug in goreleaser. Thank you again for your time spent investigating.