aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
blob: f73f61c87a2e817a03c9315012a2ff568ce04ade (plain)
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
name: Release

on:
  push:
    tags:
      - '*'
      - '!*-rc*'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          tag_name: ${{ github.ref }}
          release_name: ${{ github.ref }}
          body: |
            This is just a drill, don't panic!
          draft: true
          prerelease: false