gitea-release/DOCS.md

26 lines
782 B
Markdown
Raw Normal View History

Use this plugin for publishing files and artifacts to GitHub releases. You
can override the default configuration with the following parameters:
* `api_key` - GitHub oauth token with public_repo or repo permission
2015-12-23 14:17:14 +00:00
* `files` - Files to upload to GitHub Release, globs are allowed
* `checksums` - Checksum hashes to include in your GitHub release for all files specified. Supported hash methods include md5, sha1, sha256, sha512, adler32, and crc32.
2015-12-23 14:17:14 +00:00
* `base_url` - GitHub base URL, only required for GHE
* `upload_url` - GitHub upload URL, only required for GHE
Sample configuration:
```yaml
publish:
github_release:
api_key: my_github_api_key
files:
- dist/*
checksums:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
```