Publish your snap

In order to share your snaps with the world, you need to push them to a store, and release them. This page describes the process you will follow for the Ubuntu-hosted Store.

Although, snaps are not tied to a specific type of store and you can host them any way you want, see the Store page for more details.

1. Create a store account

To release snaps in the Ubuntu Store you will need to create an account on This is your developer portal where you can customize how your snaps are presented, review your uploads, and control the releasing process.

You’ll need to choose a unique “developer namespace” as part of the account creation process. This name will be visible by users and associated with your snaps.

Once you’ve confirmed your account, you’re ready to start pushing your snaps to the Store.

Make sure the snapcraft and snap commands know about you by logging in using the email address attached to your account.


$ snapcraft login
$ snap login

Note that logout commands are available as well.

2. Reserve a name for your snap

You can push your own version of a snap, provided you do so under a name you have rights to.

New names can be registered:


$ snapcraft register drone-autopilot
Registering drone-autopilot.
Congratulations! You're now the publisher for 'drone-autopilot'.

You are now the only developer able to use this name in the store. Note that the store allows you to share snaps management (push and release) with other developers on a per-snap basis.

Name disputes

The Ubuntu Store can, if needed, rename snaps to ensure they match the expectations of most users. If you’re the developer or publisher most users expect for a snap name, then claim it with the snap name registration form. If the name is already taken, the form will let you submit a name dispute.

3. Upload your snap

Before you upload your snap, have a quick look at your snapcraft.yaml file again. Two settings (grade and confinement) will define which channels you can release your snap to.

                confinement: strict confinement: classic confinement: devmode
grade: stable all channels all channels beta and edge only
grade: devel beta and edge only beta and edge only beta and edge only

It’s worth noting that the user of your snaps will have to use --devmode to install a snap using confinement: devmode. This means that they have to willingly accept that the snap is breaking out of confinement.

Pushing the snap

Snap upload to the store can be done either from the Ubuntu Store web interface or directly by using the command-line.

Once you have a working snap, you can run snapcraft push snap-name.snap to push it to the store.


$ snapcraft push drone-autopilot_stableV2_amd64.snap
Uploading drone-autopilot_stableV2_amd64.snap [====================] 100%
Processing ...
Ready to release!
Revision 1 of 'drone-autopilot' created.

Note that snapcraft push will return an error if you try to push a snap with a name you haven’t registered first.


Each time you upload a snap, the store will assigned a revision number to it, starting at 1. This revision number will be incremented each time you upload a new version of your snap. The revision number also increments when uploading a build for a new architecture.

4. Release your snap

Uploading a snap doesn’t make it immediately available for installation. You have to choose the channel(s) you want to release into.

Release channels

There are four channels available for your snap:

  • stable is what most users will consume and as the name suggests, should be your most polished, stable and tested versions. Snaps in this channel appear in user searches.
  • candidate is used to vet uploads that should require no further code changes before moving to stable.
  • beta is used to provide preview releases of semi-stable changes. Snaps requiring the devmode flag to work are allowed in this channel.
  • edge is for your most recent changes, probably untested and with no guarantees attached. Snaps requiring the devmode flag to work are allowed in this channel.

The same revision of a snap can be released into several channels at once.

Release process

Releasing can be done from the store web interface or directly from the command-line.

To release a snap, run snapcraft release snap-name revision channel.


$ snapcraft release drone-autopilot 1 stable
The 'stable' channel is now open.

Channel    Version    Revision
---------  ---------  ----------
stable     stableV2   1
candidate  -          -
beta       -          -
edge       -          -

Your snap is now available for users to install and in case of a stable release, it will be listed in search results.

$ snap find drone
Name             Version   Developer  Notes  Summary
drone-autopilot  stableV2  you        -      An autopilot mode for your drones