summaryrefslogtreecommitdiff
path: root/.github/workflows/github-release.yml
blob: e5612c63d0ac20c4a644f26fad5b865a6c7c5383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: release

on:
  push:
    tags:
      - 'xkbcommon-*'

jobs:
  build:
    name: Automatically create GitHub release for tag
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: ${{ github.ref }}
          body: |
            See the [NEWS](https://github.com/xkbcommon/libxkbcommon/blob/master/NEWS) file for the changes.