Browse Source

Added release drafter to actions

pull/53/head
Anairkoen Schno 4 years ago
parent
commit
9814abc26d
Signed by: DaNike GPG Key ID: BEFB74D5F3FC4387
3 changed files with 29 additions and 4 deletions
  1. +19
    -0
      .github/release_draft.yml
  2. +9
    -4
      .github/workflows/build.yml
  3. +1
    -0
      BSIPA.sln

+ 19
- 0
.github/release_draft.yml View File

@ -0,0 +1,19 @@
name-template: 'BSIPA $RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
[*All Changes*](https://github.com/bsmg/BeatSaber-IPA-Reloaded/compare/$PREVIOUS_TAG...$RESOLVED_VERSION)
[*Documentation Permalink*](https://bsmg.github.io/BeatSaber-IPA-Reloaded/tags/$RESOLVED_VERSION/index.html)

+ 9
- 4
.github/workflows/build.yml View File

@ -7,9 +7,6 @@ on:
pull_request:
branches:
- master
release:
types:
- created
defaults:
run:
@ -44,4 +41,12 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: BSIPA-net35-${{ env.Platform }}
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/
- name: Create Release Draft
id: create_release
uses: release-drafter/release-drafter@v5
with:
config-name: release_draft.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO: make it auto-upload assets

+ 1
- 0
BSIPA.sln View File

@ -18,6 +18,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{C79C2C3A
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4D6639A2-BD39-4F9B-AF7F-8E5F3B88243D}"
ProjectSection(SolutionItems) = preProject
.github\release_draft.yml = .github\release_draft.yml
.github\workflows\build.yml = .github\workflows\build.yml
.github\workflows\docs.yml = .github\workflows\docs.yml
README.md = README.md


Loading…
Cancel
Save