Sign inSign up

sqeven/semantic-release

By sqeven

•Updated 3 months ago

semantic-release for gogs

Image
0

2.4K

sqeven/semantic-release repository overview

⁠semantic-release Conventional Commits semantic-release.

Drone plugin for making semantic releases based on https://github.com/semantic-release/semantic-release⁠.

⁠Usage

See commit message format⁠ to use it.

Add the following to the drone configuration

kind: pipeline
name: default

steps:
- name: semantic-release
  image: sqeven/semantic-release
  settings:
    version_file: .tags # the file where the version will be persisted, defaults to .release-version
    git_user_name: sqeven # 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

⁠What it does

Runs on master branch only. Skips any actions below while on other branches.

  • automatically creates a semantic version number
  • attaches the version number as repo's git tag
  • exposes the version number into the file .release-version
  • automatically creates, populates and pushes CHANGELOG.md to your master branch

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:f88a2d600…

Size

99.5 MB

Last updated

3 months ago

docker pull sqeven/semantic-release