Skip to content

relwolf.yaml ​

relwolf.yaml in the repository root is optional. Without it, relwolf releases a single root package without file updaters. Everything is configured through this file; there are no CLI flags. Secrets and CI context come from environment variables.

yaml
branch: main # branch to release from; defaults to the CI default branch, then "main"
cliff-config: cliff.toml # git-cliff config; defaults to git-cliff's own discovery/default
prerelease: beta # optional, default for all packages
bump-minor-pre-major: true # optional, default for all packages

packages:
  '.':
    component: app # optional for one package; required for every other package (used as tag prefix)
    changelog-path: CHANGELOG.md # relative to the package path
    initial-version: 1.0.0 # optional, first stable version if no tag exists
    prerelease: rc # optional, overrides the global value
    bump-minor-pre-major: false # optional, overrides the global value
    updaters:
      - type: package-json # default path: package.json
      - type: pom-xml # default path: pom.xml
      - type: gradle # default path: build.gradle (also: build.gradle.kts, gradle.properties)
      - type: generic
        path: deploy/values.yaml

Paths of updaters and the changelog are relative to the package path. Unknown keys are rejected.

Options ​

KeyLevelDefaultDescription
branchglobalCI default branch, then mainBranch to release from
cliff-configglobalgit-cliff discoveryPath to a git-cliff config
prereleaseglobal, packagenonePre-release identifier
bump-minor-pre-majorglobal, packagetrueBreaking changes only bump minor before 1.0.0
componentpackagenoneTag prefix, see Monorepos
changelog-pathpackageCHANGELOG.mdChangelog file, relative to the package
initial-versionpackagecomputed from 0.0.0First stable version if no tag exists
updaterspackagenoneFiles to update

Typical setups ​

yaml
packages:
  '.':
    updaters:
      - type: package-json
yaml
packages:
  '.':
    updaters:
      - type: pom-xml
yaml
packages:
  '.':
    updaters:
      - type: gradle
yaml
packages:
  '.':
    updaters:
      - type: generic
        path: deploy/values.yaml
Developed by lupiqlupiq