Drone semantic release plugin
468
Drone plugin for making semantic releases based on https://github.com/semantic-release/semantic-release.
See commit message format to use it.
Add the following to the drone configuration
kind: pipeline
name: default
steps:
- name: semantic-release
image: lework/semantic-release
settings:
git_user_name: bot # semantic release committer name (git config user.name)
git_user_email: [email protected] # semantic release committer email (git config user.email)
github_token: # semantic release token (for authentication)
from_secret: token
or for BitBucket
bitbucket_token: # semantic release token (for authentication)
from_secret: token
or for GitLab
gitlab_token: # semantic release token (for authentication)
from_secret: token
or for any git server (including BitBucket cloud which does not support tokens):
git_login: bot
git_password:
from_secret: password
docker run
git clone http://192.168.77.132/root/test.git
docker run --rm -e PLUGIN_GIT_USER_NAME=root -e [email protected] -e PLUGIN_GIT_LOGIN=root -e PLUGIN_GIT_PASSWORD=12345678 -v $(pwd)/test:/app -w /app lework/drone-semantic-release:latest
Runs on master branch only. Skips any actions below while on other branches.
.release-versionMIT
Thanks entwico
Content type
Image
Digest
Size
53.1 MB
Last updated
about 7 years ago
docker pull lework/drone-semantic-release