Some launchpad builds not setting the right version

Hello!

I’m seeing something weird with the solc snap. This project has a release branch, so we set up a launchpad recipe to build it and push to candidate. This used to work fine, but after a while it started setting the version to develop, which is the fallback and what we use for commits not tagged.

https://github.com/ethereum/solidity/blob/e97f9b6ba85b5cf5d347f1771524d0b0973e00bb/snap/snapcraft.yaml#L3-L3

So, trying to understand what was going on, I triggered a manual build, and it set the version correctly to 0.4.23: https://launchpad.net/~elopio/+snap/solc-candidate/+build/218902

Then, they released 0.4.24 and the recipe built it automatically, but set the version to develop: https://launchpad.net/~elopio/+snap/solc-candidate/+build/220907

I triggered it manually again, and the version was set correctly: https://launchpad.net/~elopio/+snap/solc-candidate/+build/225265

So it seems that automatic builds are not setting the version-script, but the manual ones are doing it fine.

I’m :confused:

pura vida