mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
add release-drafter for easy GitHub release management
This commit is contained in:
parent
9b3edc8bd1
commit
bc07b8af53
2 changed files with 42 additions and 0 deletions
22
.github/release-drafter.yml
vendored
Normal file
22
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
_extends: jellyfin/jellyfin-meta-plugins
|
||||||
|
|
||||||
|
name-template: "Release $RESOLVED_VERSION"
|
||||||
|
tag-template: "v$RESOLVED_VERSION"
|
||||||
|
version-template: "$MAJOR.$MINOR.$PATCH"
|
||||||
|
|
||||||
|
version-resolver:
|
||||||
|
major:
|
||||||
|
labels:
|
||||||
|
- 'major'
|
||||||
|
minor:
|
||||||
|
labels:
|
||||||
|
- 'minor'
|
||||||
|
patch:
|
||||||
|
labels:
|
||||||
|
- 'patch'
|
||||||
|
default: patch
|
||||||
|
|
||||||
|
template: |
|
||||||
|
## :sparkles: What's New
|
||||||
|
|
||||||
|
$CHANGES
|
20
.github/workflows/release-drafter.yaml
vendored
Normal file
20
.github/workflows/release-drafter.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Release Drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
name: Update release draft
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Update Release Draft
|
||||||
|
uses: release-drafter/release-drafter@v5.15.0
|
||||||
|
with:
|
||||||
|
publish: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue