gitea-release-drafter/README.md

36 lines
929 B
Markdown
Raw Normal View History

2023-02-28 13:16:15 +01:00
# gitea-release-drafter
2023-03-05 22:39:55 +01:00
_Gitea Release Drafter_ automates release notes as a draft release whenever a pull request finds it's way into the default branch of your repository.
⚠️ This action is compatible with gitea and forgejo starting from version `1.19.0`.
2023-03-05 23:06:05 +01:00
![Screenshot 2023-03-05 at 23 05 12](https://user-images.githubusercontent.com/6138133/222988558-5e99e5b4-9955-4650-9ce6-6d565dd85f34.png)
2023-03-05 22:39:55 +01:00
## Using The Release Drafter
...
`config-path` to set the location of the action configuration. Defaults to `.gitea/release-drafter.yml`
## Example Configuration
```
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
```
## Configuration Variables
- `RESOLVED_VERSION`: the proposed version for the next release (does not contain the leading `v`)