Page MenuHomePhabricator

Snapcraft listing needs an update
Closed, ResolvedPublic

Description

The Snapcraft listing for Huggle is still showing the latest stable version to be 3.4.9, despite the release of 3.4.10. A bump in the stable version of the snap is needed - or changing everyone to the edge branch!

Event Timeline

how can I change everyone to edge? I just know how to update to specific version

Petrb claimed this task.

I updated it to latest but I'd like to know how to automate this

I wouldn't suggest doing that, as that would mean that every time a new commit gets published to master, snaps might start updating with that new commit. Unless the master branch is set up so that every commit is designed to be related to a release, and work towards a release goes on in other branches, it's probably not a good idea.

What you could do to automate it though is work the snap release strategy into the travis build, so that it automatically pushes into snap at the relevant time after testing is completed. There's a tutorial on how to do this for the edge branch here on the Snapcraft website, but it should be trivial to change it so that it pushes to the stable branch and only pushes when there's a release tag on the commit.

I'd like to at least connect beta releases to edge channel is there a way to do that?

The edge channel is designed to be used with the latest passing master build, which is currently what's happening. There's a beta channel, which you could connect beta releases to, and the stable channel obviously for stable releases. You can use Travis conditional releases to do this, by simply modifying the example .travis.yml in the Snapcraft documentation - if you like, I can see if I can make a PR that does that when I get some time.