Zum Inhalt springen

Plugin: provider-bitbucket

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Publishes release information to Bitbucket from the SemRel release context. It can create or update Bitbucket release metadata using workspace-level authentication.

Terminal window
go install github.com/SemRels/provider-bitbucket@latest

Each 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.

version: 1
plugins:
- name: provider-bitbucket
path: 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.