Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

standard-release (GitLab CI component)

The driftsys default release pipeline as a GitLab CI component. One include line gets you commit-message validation on every MR plus a semver bump-and-tag plus a published release page with notes on every push to the default branch.

It’s a thin preset over the commitlint, release, and release-notes components β€” same defaults, fewer lines of YAML in your repo.

Inputs

NameRequiredDefaultDescription
rangeno$CI_MERGE_REQUEST_DIFF_BASE_SHA..HEADCommit range commitlint validates on MRs.
remotenooriginRemote the release job pushes to.
dry-runnofalseIf true, the release job bumps + tags but skips push.

Example

# .gitlab-ci.yml
include:
  - component: gitlab.com/driftsys/ci/standard-release@~latest

Notes

  • The component pins its sub-components (commitlint, release, release-notes) at $CI_COMPONENT_REF, so standard-release@v0.2.0 reproducibly uses the v0.2.0 sub-components.
  • The release-notes job runs on tag pipelines (after release pushes the tag), not on the default-branch pipeline that the release job belongs to.
  • For finer control over a sub-component, include it directly instead of (or in addition to) standard-release; the preset only exposes the most common subset of inputs.