Skip to content

Publish a Release

The final step to getting an update to users is to publish the release. Be sure to first create a draft then upload assets for a release before continuing.

There are two ways to publish a release:

Publishing with the Cloud Platform

After the assets have been uploaded, a release can be published by visiting the respective “Release” page on the CrabNebula Cloud platform. Clicking the “Publish draft” button in the upper-right corner will make the release available to users.

Publishing with the CLI

In order to publish a release with the CLI you will need:

  • Organization slug
  • Application slug
  • Release ID (output after creating a new draft with the CLI)
  • Optional: The release channel name

To publish a release run the following command:

Terminal window
cn release publish {org-slug/app-slug} {release-id}

Release channel --channel

If you specified the release channel while drafting the release, you must specify the same channel name again using --channel <channel-name> argument to publish the release in the same channel. For more information, see the Release Draft page.

Example Usage

To publish the example of crabnebula/devtools-desktop with release ID 01HKA6TGC281V51NGSRJNTJQAF the following command would be used:

Terminal window
cn release publish "crabnebula/devtools-desktop" "01HKA6TGC281V51NGSRJNTJQAF"