Sign inSign up

etsinfra/drone-github-release

By etsinfra

•Updated about 5 years ago

Drone plugin to create a GitHub release based on changelog following keepachangelog format.

Image
0

1.5K

etsinfra/drone-github-release repository overview

⁠Quick reference (cont.)

⁠What is the purpose of this image?

Drone⁠ plugin to create a GitHub release based on changelog following keepachangelog⁠ format.

drone logo

The following steps are executed by this plugin:

  1. Gather the latest version number based on changelog.
  2. Create a GitHub release for this version and with the content described by the changelog.
ParameterDescription
changelog_pathPath to the changelog. Default to CHANGELOG.md in current folder.
github_tokenToken (repo permission) used to create the release. Default to the drone GIT password⁠ (if available). Related user needs to have admin role in repository.
pre_releaseIf provided (value does not matter), this will be a GitHub pre-release.
only_commit_authorIf provided and the value does not matches the one from the commit author user name⁠, this plugin will not do anything.

⁠How to use this image

⁠Add a step to your drone pipeline

kind: pipeline
type: docker
name: default

steps:
- name: tag
  image: etsinfra/drone-github-release:latest
  settings:
    changelog_path: custom_folder/CHANGELOG.md
    github_token: cc1cc11111111ccc1c11c1cc1ccc1c1cc1111c1c

Tag summary

Content type

Image

Digest

Size

327.8 MB

Last updated

about 5 years ago

docker pull etsinfra/drone-github-release