Provider Plugin
Handles forge and git operations such as reading release history, creating tags, and publishing releases.

semrel’s release pipeline is composed of standalone plugin executables. Each plugin is discovered locally and executed as a subprocess — there is no gRPC layer or RPC handshake.
.semrel.yaml.uses: value resolves to a binary named semrel-plugin-<name> after semrel strips any namespace and version. Category prefixes such as updater- or publisher- remain part of the binary name.path:, then in .semrel/plugins/, then in ~/.semrel/plugins/, then in $PATH.args: values are exposed as environment variables in the form SEMREL_PLUGIN_<KEY>=<value>.The plugin category describes what a plugin does; phase: controls when it runs. Only these lifecycle phases are valid:
| Phase | Execution point | Typical categories |
|---|---|---|
condition | Before commit analysis and tag creation | Conditions |
generator | After version calculation; stdout replaces SEMREL_CHANGELOG | Generators that return release content |
pre-tag | Before release changes are committed and tagged | Updaters and file-writing generators |
release | After tag creation; also the default when phase is omitted | Providers, packagers, publishers, and hooks |
Values such as update and publish are plugin responsibilities, not valid lifecycle phases.
These environment variables are available to plugin processes during execution.
| Variable | Description |
|---|---|
SEMREL_VERSION | Resolved release version for the current run |
SEMREL_TAG_NAME | Full tag name for the release |
SEMREL_CURRENT_VERSION | Current project version |
SEMREL_NEXT_VERSION | Next version selected for the release |
SEMREL_BUMP | Calculated bump level |
SEMREL_BRANCH | Current git branch |
SEMREL_TAG_PREFIX | Configured tag prefix |
SEMREL_CHANGELOG | Generated changelog content |
SEMREL_DRY_RUN | Whether the current run is a dry run |
SEMREL_COMMITS | JSON array of raw commit messages in the current release window |
SEMREL_COMMIT_HASHES | JSON array of full commit SHAs in the same order as SEMREL_COMMITS |
SEMREL_CONTRIBUTORS | JSON array of contributor metadata (name, email, commits, firstContribution) for the release window |
SEMREL_PACKAGE_NAME | Workspace package name (e.g. packages/api); set when running via semrel workspace |
SEMREL_PACKAGE_PATH | Absolute package root directory; set when running via semrel workspace |
The current official plugin catalog is organized into eight categories.
Provider Plugin
Handles forge and git operations such as reading release history, creating tags, and publishing releases.
Condition Plugin
Verifies that the current environment is allowed to publish a release.
Analyzer Plugin
Inspects commits and decides the SemVer bump level.
Generator Plugin
Produces changelogs, release notes, and other release-facing content.
Updater Plugin
Updates versioned project files before the release is finalized.
Packager Plugin
Builds distributable artifacts such as Linux packages from prepared release inputs.
Publisher Plugin
Publishes Docker images or release artifacts to registries and HTTP endpoints.
Hook Plugin
Sends notifications or runs follow-up automation after success or failure.
These targets are supported today with a split model: updaters prepare versioned project metadata, while packaging and publishing can run through dedicated plugins and CI jobs.
| Target | Current plugins | What they do today | Typical next step |
|---|---|---|---|
| Go binaries | updater-go | Updates Go version variables before release tagging. | Build binaries in CI with go build and then package/publish artifacts. |
| Docker images | updater-docker, publisher-docker | Updates Dockerfile version arguments; pushes one image already present in the Docker daemon. | Build and authenticate in CI before the publisher runs. |
| Podman images | updater-docker | Updates Dockerfile version arguments. | Build and publish with Podman in CI; publisher-docker specifically requires the Docker CLI contract. |
| Helm charts | updater-helm | Updates Chart.yaml version and optional appVersion. | Package and publish charts in CI or OCI-compatible registries. |
| Linux packages | packager-nfpm | Builds deb, rpm, and apk packages via nfpm. | Publish generated packages to your package channels. |
| Generic/OCI artifacts | publisher-generic-http, publisher-oci | Uploads release artifacts to HTTP endpoints or OCI registries. | Chain publishers after build/package stages. |
Discover official plugins in the Plugin Registry, install them with semrel plugin install <ref>, and use the Managing Plugins guide for lock files and restore workflows.
semrel resolves plugins from the configured uses: value:
plugins: - uses: @semrel/provider-github name: github-release args: owner: MyOrg repo: my-repo
- uses: slack-notify path: /usr/local/bin/semrel-plugin-slack args: webhook_url: '${env.SLACK_WEBHOOK}'