Release process¶
Prerequisites¶
In order to promote a Snap release from
edgetostable, you need publishing access, which you can get from Colin Watson.
How to create a new release¶
create an MP with a release commit, with updated version number in
setup.cfgand updated version number and release date inNEWS.rst, following the semver recommendationsonce the MP has been merged to the
mainbranch, a Launchpad recipe automatically builds and publishes Snap packages to theedgechannelonce the Snaps have been published, update your local Snap installation
snap refresh --edge lpci
in order to make sure nothing is broken, run
lpci -vgo to the Releases page of the Snap store to promote the release from
edgetostableclick on the cog icon next to
latest/edgeselect
Promote/closeclick on
Promote to: latest/stablefinally, hit the
Savebutton in the top right corner to apply the changes
Some additional information¶
It is best practice to use
dev0version’s suffix defining a new development version intosetup.cfgafter a release, so when building that version for testing, it does not show the old version number. Once we want to release, we remove the suffix, to indicate that this is no longer a development version.members of the Launchpad team can use the
Request buildsbutton on that recipe if they need updated builds urgentlylpci currently only makes use of
stableandedge, though this may change in future if necessarymost users, as well as default CI builds in Launchpad, should use the stable channel rather than the auto-built
edgechannel