Skip to content
PatchbayDocs

Search documentation

Find a page

Open Patchbay

Releases

Promote a release

Promote the open candidate of a version to its promoted release, demote it again, or abandon the version.

On this page

When the open candidate of a version is ready, you promote it, and it becomes the promoted release of the version. You need the Release manager role or higher on the project. See What each role can do.

Promote the open candidate⁠

  1. Open the version, and then open its open candidate.
  2. Press Cmd+K (or Ctrl+K) and select Promote candidate. The promotion preview opens.
  3. Read the list of changes and the pull requests that are not included.
  4. Click Promote.

The promotion preview⁠

The preview compares the candidate with the baseline of the version, so it shows the same release diff that the promoted release will show. See Compare releases.

  • Changes lists only the components that changed, grouped by repository.
  • If the release leaves out pull requests, a note lists them. These are open pull requests and merged pull requests that are not in the candidate yet, and draft pull requests do not count. See Follow pull requests on GitHub.
  • A component whose tracked branch or tag was deleted ships its last saved commit, and its row says so.

If no component changed since the baseline, the dialog says that the version ships with no changes. You can still promote, and the new release then has the same commits as the baseline.

What promotion does⁠

  • Patchbay creates the promoted release of the version from the candidate.
  • Every component keeps the commit that it has at promotion, because Patchbay does not follow branches or tags for a promoted release.
  • The other candidates of the version close and stay read-only.
  • The version cycle becomes Released, and Patchbay opens the page of the version.
  • The next version that you start uses this release as its baseline.
  • If the project writes to GitHub, the pull requests in the release get the released status. See Follow pull requests on GitHub.

A promoted release does not change, so to change it, you demote it first.

Demote a release⁠

Demote a promoted release to return it to the open candidate of its version. You can demote only the latest promoted release of the project.

  1. Open the version.
  2. Press Cmd+K (or Ctrl+K) and select Demote release.
  3. Read the dialog, and then click the Demote button, for example Demote 1.4.0.

After you demote, the commits stay as they are and the release becomes the open candidate again. The previous promoted release of the project is the latest one again, and the other candidates of the version stay read-only.

Abandon a version⁠

Abandon a version to end it without a release. You cannot undo this.

  1. Open the version, and then open its open candidate.
  2. Press Cmd+K (or Ctrl+K) and select Abandon release.
  3. Read the dialog, and then click the Abandon button, for example Abandon 1.4.0.

The open candidate closes, and you cannot continue or restore it. Earlier candidates stay as they are. The version cycle becomes Abandoned, so you cannot start the same version again. If the project writes to GitHub, the pull requests that were only in this version get the abandoned status.