crystal-lang / distribution-scripts

40 stars 24 forks source link

Release a `snap` with a `tagged_release` #121

Open beta-ziliani opened 2 years ago

beta-ziliani commented 2 years ago

Currently snap packages are published, but the release is performed manually. Automate this step for every tagged_release.

beta-ziliani commented 2 years ago

It seems snaps for tagged releases are not given the stable grade, making them unpublishable on stable channels

bcardiff commented 2 years ago

Note: In prepare_tagged there is a echo "export SNAP_GRADE=stable" >> build.env that should be doing that.

beta-ziliani commented 2 years ago

yes, I saw that the package is built correctly, but for some reason I can't promote it to stable 🤷

beta-ziliani commented 2 years ago

I found the issue. It's weird that there are four packages in snap with the 1.2.0 version: 918, 919, 920, 922, and the only one with the right grade was 919 (which wasn't the one in the edge/beta channels).