git tags and updates CHANGELOG.md with commit history completed from the last release.
481
This pipe git tags and updates the repository CHANGELOG.md with the commit history that has been completed from the last release. The computronix/bitbucket-pipe-release-version pipe should be used as prerequisite step.
Add the following snippet to the script section of your bitbucket-pipelines.yml file:
script:
- pipe: computronix/bitbucket-pipe-release-publish:0.1.0
variables:
BITBUCKET_API_OAUTHCONSUMER_KEY: '<string>'
BITBUCKET_API_OAUTHCONSUMER_SECRET: '<string>'
RELEASE_PUBLISH_VERSION: $RELEASE_VERSION
| Variable | Type | Usage |
|---|---|---|
| BITBUCKET_API_OAUTHCONSUMER_KEY | Required | Oauth consumer key for the workspace |
| BITBUCKET_API_OAUTHCONSUMER_SECRET | Required | Oauth consumer secret for the workspace |
| RELEASE_PUBLISH_VERSION | Required | The release version to publish ($RELEASE_VERSION) |
Example to execute a release publish :
script:
- pipe: computronix/bitbucket-pipe-release-publish:0.1.0
variables:
BITBUCKET_API_OAUTHCONSUMER_KEY: '<string>'
BITBUCKET_API_OAUTHCONSUMER_SECRET: '<string>'
RELEASE_PUBLISH_VERSION: $RELEASE_VERSION
If you're reporting an issue, please include:
Apache 2.0 licenced, see LICENCE file
Content type
Image
Digest
sha256:ef44ba74e…
Size
11.7 MB
Last updated
about 4 years ago
docker pull computronix/bitbucket-pipe-release-publish:0.6.0