Plugin: provider-bitbucket
Publishes release information to Bitbucket from the SemRel release context. It can create or update Bitbucket release metadata using workspace-level authentication.
Installation
Section titled “Installation”go install github.com/SemRels/provider-bitbucket@latestEach plugin is a standalone Go binary. Keep it on your PATH or reference it with path: in .semrel.yaml. If you keep secrets in a .env file, load them with semrel --env-file .env release.
Configuration
Section titled “Configuration”version: 1plugins: - name: provider-bitbucket path: provider-bitbucket args: workspace: semrels repo: semrel username: '${{ env.BITBUCKET_USERNAME }}' app_password: '${{ env.BITBUCKET_APP_PASSWORD }}'Environment Variables
Section titled “Environment Variables”| Name | Required | Default | Description |
|---|---|---|---|
SEMREL_PLUGIN_WORKSPACE | yes | — | Bitbucket workspace name. |
SEMREL_PLUGIN_REPO | no | current repository | Repository slug to publish into. |
SEMREL_PLUGIN_APP_PASSWORD | yes | — | Bitbucket app password. |
SEMREL_PLUGIN_USERNAME | yes | — | Bitbucket username. |
Release Context Variables
Section titled “Release Context Variables”SEMREL_TAG_NAMESEMREL_NEXT_VERSIONSEMREL_CURRENT_VERSIONSEMREL_CHANGELOGSEMREL_DRY_RUN
Behavior
Section titled “Behavior”For v1.4.0, the provider can publish a Bitbucket release entry using the generated tag, version text, and changelog body.