-
-
Notifications
You must be signed in to change notification settings - Fork 14
37 lines (32 loc) · 963 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
on:
push:
tags:
- "v*"
concurrency:
group: build-${{ github.sha }}
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Download previous build artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: ci.yml
commit: ${{ github.sha }}
event: push
name: PaperTweaks
- name: Parse tag
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Create release and changelog
uses: MC-Machinations/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: Paper Tweaks ${{ steps.vars.outputs.tag }}
pre-release: ${{ contains(steps.vars.outputs.tag, '-beta') || contains(steps.vars.outputs.tag, '-dev') }}
skip-prereleases: true
files: |
PaperTweaks.jar
PaperTweaks.jar.sha256
LICENSE