Skip to content

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.

Terminal window
semrel plugin install @semrel/provider-bitbucket

semrel plugin install downloads the binary to .semrel/plugins/ and updates .semrel.lock. Commit .semrel.lock to pin the version for your team.

Pre-built, signed multi-platform images (linux/amd64, linux/arm64) are published on every release:

Terminal window
docker pull ghcr.io/semrels/provider-bitbucket:latest

Verify the image signature with cosign:

Terminal window
cosign verify ghcr.io/semrels/provider-bitbucket:latest \
--certificate-identity-regexp 'https://github.com/SemRels/provider-bitbucket/.github/workflows/release.yml.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
version: 1
plugins:
- uses: @semrel/provider-bitbucket
args:
workspace: semrels
repo: semrel
username: '${{ env.BITBUCKET_USERNAME }}'
app_password: '${{ env.BITBUCKET_APP_PASSWORD }}'
NameRequiredDefaultDescription
SEMREL_PLUGIN_WORKSPACEyesBitbucket workspace name.
SEMREL_PLUGIN_REPOnocurrent repositoryRepository slug to publish into.
SEMREL_PLUGIN_APP_PASSWORDyesBitbucket app password.
SEMREL_PLUGIN_USERNAMEyesBitbucket username.
  • SEMREL_TAG_NAME
  • SEMREL_NEXT_VERSION
  • SEMREL_CURRENT_VERSION
  • SEMREL_CHANGELOG
  • SEMREL_DRY_RUN

For v1.4.0, the provider can publish a Bitbucket release entry using the generated tag, version text, and changelog body.