1.1.1 • Published 6 years ago

@iteratec/semantic-release-bitbucket v1.1.1

Weekly downloads
290
License
MIT
Repository
github
Last release
6 years ago

@iteratec/semantic-release-bitbucket

semantic-release latest npm package license

a semantic-release plugin to publish releases to Bitbucket.

verifyConditions

verifies that environment variables for authentication via username and password are set. It uses the Bitbucket Url from the config or defaults to Bitbucket Cloud. It uses the teamName and repositoryName settings to compose the url and attempts to login.

publish

creates a tag using the new version generated by sematic-release. At the time of writing Bitbucket does not support messages with tags, so the release notes are currently not published.

Configuration

Bitbucket authentication

The authentication parameters for Bitbucket are required and can be set via environment variables. Consider using an app password instead of your account password. See App passwords in the Bitbucket documentation for further information.

Environment variables

VariableDescription
BITBUCKET_USERThe username as given in the profile of repository owner. This can be your user or a team account.
BITBUCKET_PASSWORDThe (app) password for the given user.

Options

OptionDescription
bitbucketUrlOptional. The url of the bitbucket server REST api. Defaults to Bitbucket Cloud.
repositoryNameRequired. The name of the repository to publish to
teamNameOptional. Is used as the repository owner portion in the url. BITBUCKET_USER is used as default if no teamName is given.

Usage

full configuration:

{
  "verifyConfig": [..., "@iteratec/semantic-release-bitbucket", ...],
  "publish": [
    ...,
    {
      "path": "@iteratec/semantic-release-bitbucket",
      "bitbucketUrl": "http://my.bitbucket.server",
      "teamName": "A-Team",
      "repositoryName": "bucket"
    },
    ...
  ]
}

minimum configuration:

{
  "verifyConfig": [..., "@iteratec/semantic-release-bitbucket", ...],
  "publish": [
    ...,
    {
      "path": "@iteratec/semantic-release-bitbucket",
      "repositoryName": "bucket"
    },
    ...
  ]
}
1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago