| name | GitHub Release | |||
|---|---|---|---|---|
| author | Woodpecker Authors | |||
| icon | https://raw.githubusercontent.com/woodpecker-ci/plugin-github-release/main/github.svg | |||
| description | Add files and artifacts alongside a GitHub Release. | |||
| tags |
|
|||
| containerImage | woodpeckerci/plugin-github-release | |||
| containerImageUrl | https://hub.docker.com/r/woodpeckerci/plugin-github-release | |||
| url | https://github.com/woodpecker-ci/plugin-github-release |
Woodpecker plugin to add files and artifacts alongside a GitHub Release.
api-key: API key to access Github APIfiles: list of files to uploadfile-exists: what to do if file already exist (default:overwrite)checksum: generate specific checksumschecksum-file: name used for checksum file. "CHECKSUM" is replaced with the chosen method (default:CHECKSUMsum.txt)checksum-flatten: include only the basename of the file in the checksum filedraft: create a draft releaseprerelease: mark the release as a pre-releasediscussion-category: create a discussion in the given categorybase-url: API url, needs to be changed for GHE (defaulthttps://api.github.com/)upload-url: upload url, needs to be changed for GHE (default:https://uploads.github.com/)title: file or string for the title shown in the GitHub releasenote: file or string with notes for the release (example: changelog)overwrite: force overwrite existing release information, e.g. title or notegenerate-release-notes: automatically generate GitHub release notes
steps:
release:
image: woodpeckerci/plugin-github-release
settings:
files:
- dist/*.tar.gz
- dist/*.deb
- dist/*.rpm
- dist/checksums.txt
title: ${CI_COMMIT_TAG##v}
api-key:
from_secret: github_token