Make sure you installed snapcraft first.
Clean the cache(s) of build process in snapcraft.
snapcraft cleanMake sure to created a tag version release in git system and publish it, as snapcraft gets the latest git tag and package it.
git tag -a 25.03.05 -m "25.03.05 release title, with short highlight"
git push --tags --allBuild snap packages for architectures you specified inside the snapcraft.yaml file.
snapcraftUninstall snap package.
sudo snap remove --purge gobrewInstall the generated (packaged) snap on your computer to test it.
sudo snap install gobrew_<version>_<architecture>.snap --devmode --dangerous
# for example
sudo snap install gobrew_25.03.05_amd64.snap --devmode --dangerousNormal installation of upstream gobrew snap package.
sudo snap install gobrewPublish the snap package into the snap store.
# create account on snapcraft.io , register a snap package listing, login in terminal
snapcraft login
# publish snap package as latest/edge
snapcraft upload --release=edge gobrew_x.y.z_amd64.snap
# publish snap package as latest/beta
snapcraft upload --release=beta gobrew_x.y.z_amd64.snap
# publish snap package as latest/candidate
snapcraft upload --release=candidate gobrew_x.y.z_amd64.snap
# publish snap package as latest/stable
snapcraft upload --release=stable gobrew_x.y.z_amd64.snapChange the state of the release version (promote):
# from latest/edge to latest/beta
snapcraft promote --from-channel edge --to-channel beta gobrew
# from latest/beta to latest/candidate
snapcraft promote --from-channel beta --to-channel candidate gobrew
# from latest/candidate to latest/stable
snapcraft promote --from-channel candidate --to-channel stable gobrew
# from latest/edge to latest/stable
snapcraft promote --from-channel edge --to-channel stable gobrew
# from latest/beta to latest/stable
snapcraft promote --from-channel beta --to-channel stable gobrewYou can just trigger a new build in the snapcraft management dashboard, so you do not need anything like packaging nor uploading nor promoting.