mirror of
https://github.com/jellyfin/jellyfin-plugin-kitsu.git
synced 2024-11-27 00:00:35 +00:00
Add release drafter
Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
This commit is contained in:
parent
1da5e9788c
commit
4618a14ef6
9
.github/release-drafter.yml
vendored
Normal file
9
.github/release-drafter.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
_extends: jellyfin-meta-plugins
|
||||
|
||||
template: |
|
||||
<!-- Optional: add a release summary here -->
|
||||
[Plugin build can be downloaded here](https://repo.jellyfin.org/releases/plugin/kitsu/kitsu_$NEXT_MAJOR_VERSION.0.0.0.zip).
|
||||
|
||||
## :sparkles: What's New
|
||||
|
||||
$CHANGES
|
19
.github/workflows/create-github-release.yml
vendored
Normal file
19
.github/workflows/create-github-release.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Publish Drafted GitHub Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ 'v*' ]
|
||||
|
||||
jobs:
|
||||
publish_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get version from GITHUB_REF
|
||||
id: get-version
|
||||
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
|
||||
|
||||
- name: Publish release on GitHub
|
||||
uses: test-room-7/action-publish-release-drafts@v0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag-name: ${{ steps.get-version.outputs.version }}
|
16
.github/workflows/update-release-draft.yml
vendored
Normal file
16
.github/workflows/update-release-draft.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# Automates creation of Release Drafts using Release Drafter
|
||||
name: Update Release Draft
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Drafts your next Release notes as Pull Requests are merged into "master"
|
||||
- uses: release-drafter/release-drafter@v5.14.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user