Skip to content
GitHub

GuideReleases

Release flow setup

In the panel: Releases › Flow setup/releases/setupNeeds settings:write

Describe how a repository releases — branches, acceptance, gates, version scheme, changelog and deploy environments — starting from what Holtkeeper reads in the repository.

In the panel · Releases › Flow setup
Flow setupacme/checkout-web1 Flow2 Versions3 Environments
development sourceRelease MR label release · acceptance: labelmain target · 2 gatesv8.3.0 tagstaging → production production asks first

Detected: merge request flow — 11 of the last 12 release MRs merged development into main

Review the suggestions firstUse it and turn releases on

The flow strip draws the draft from left to right; a click on a step opens the step that edits it.

Open Releases › Flow setup, or Configure on a repository’s timeline, or Set up releases on the overview. Without a repository the page shows a picker of the repositories you may configure. The CI page’s Release gates and the repository hub’s Releases tab link here too.

Nothing is tagged or deployed from this page; it only edits the repository’s releases setting.

You see When
A wizard The repository has no releases setting yet: three steps, Flow, Versions, Environments.
One editing page It is configured: Releases on, Flow, Versions and changelog, and Environments on one page.
Read-only lines You do not have settings:write on the repository: the effective flow, nothing to edit.

The wizard reads the repository from the forge as soon as it opens: merge requests, tags, labels, CHANGELOG.md, commit messages, pipelines and protected branches. A notice names the suggested mode and why.

  1. Read the suggestion and, below it, What we read.
  2. Choose Use it and turn releases on to apply the suggestions, turn releases on and save in one go, or Review the suggestions first to only fill the draft and walk through the steps.
  3. A field the checks refuse opens its step instead of saving.

On a configured repository, detection runs only when you ask with Read the forge (or ⋯ › Read the forge again); the button is then Use the suggestions.

In the panel · Releases › Flow setup › What we read
Kind Value Where Suggests
Release labels release on 11 of 12 release MRs merge requests · 2 days ago mergeRequest.labels
Acceptance release-accepted used !231 acceptance: label
Changelog file CHANGELOG.md repository root changelogFile
Conventional Commits 94% of commits main · last 300 commits —
Tracker keys ABC in 71% of commits main —
Deploy jobs deploy:staging, deploy:production pipeline of v8.2.1 deploy.environments
Protected target main branch settings gates.pipeline

Every field and every step of the flow strip carries a source tag:

Tag Meaning
detected The value equals a suggestion backed by evidence.
edited You changed it from what the page started with.
saved It comes from the saved setting.
default It is Holtkeeper’s default.
In the panel · Releases › Flow setup › Flow
ModeMerge request
AcceptanceLabel on the release MR
Source branchdevelopment
Target branchmainEmpty: the default branch
Release MR labelsrelease
Pipeline gateA failed or canceled pipeline blocks the step
Blocking labelsdo-not-releaseOpen merge requests with these labels block the step
Mode How the repository releases
Merge request A release merge request brings the source branch (default development) into the target. The version is created on the target afterwards.
Trunk Work lands on the target directly; versions are tagged on it.
External Another tool, such as changesets or release-please, releases the repository. Versions and deploys are shown; steps are off.

Acceptance says what the version waits for, so you can tie it to your own QA or sign-off:

Acceptance The version waits for
None Nothing; the version can be created at once. The default.
Manual A person in the panel, or a CI job calling the API.
Label The release-accepted label on the merged release merge request.
Merge The release merge request being merged.

A person can accept in every mode.

In the panel · Releases › Flow setup › Versions
SchemeSemantic (1.4.2)
Tag formatv{version}
Release candidates first1.3.0-rc.1, rc.2, …
Prepend to CHANGELOG.mdOn the target branch
Leave out commit typesci, chore
Tracker URLhttps://tracker.example.com/browse/{id}
  • Scheme: semantic versions, or calendar versions as YYYY.MM.MICRO.
  • Tag format wraps the version and must contain {version}; the default is v{version}.
  • Release candidates tag 1.3.0-rc.1, rc.2 and so on before the version.
  • CHANGELOG.md: each version’s notes are committed on top of the file.
  • Leave out commit types: entries of these types are left out of the changelog.
  • Tracker URL turns keys like ABC-123 into links; {id} stands for the key.

The bump, the changelog grouping and the texts of merge requests, tags and releases are fixed. The style of AI notes is a rule limited to release notes.

In the panel · Releases › Flow setup › Environments
stagingjob deploy:staging · right after the tag
productionjob deploy:prod* · after staging · asks first
+ Environment

Each environment has a name, a job (a glob over the tag pipeline’s manual jobs), the environment it deploys after, and whether it asks for confirmation first.

  1. Choose + Environment. New environments are named staging, then production, then environment-N, and deploy after the last one.
  2. Set the job and, if needed, change After and Asks first.
  3. Rename freely: environments deployed after it follow the new name. Removing one clears the After of the ones that followed it.

The step also shows the release webhooks read-only: their scope and last change, never their URLs. Manage in Settings opens Settings › Integrations.

  • In the wizard, Back and Continue move between steps; the last step has Save the flow and Turn releases on when I finish (on by default). After saving, the repository’s timeline opens.
  • On a configured repository, Save in the header is enabled once the draft differs; ⋯ › Start over discards the draft.

The draft stays in the page until you save. Saving writes the repository’s own releases entry, or creates one scoped to just this repository.