summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2021-05-22 20:17:35 +0300
committerRan Benita <ran@unusedvar.com>2021-05-22 20:20:12 +0300
commit1f7ffde982fbac085bdaeaf5fa97411638644ae1 (patch)
tree4a4a2885cb9951b4924745ec13ec54462926e65c /.github
parent8507af731a4e6d5e1107639a35328959f3b48155 (diff)
downloadxorg-lib-libxkbcommon-1f7ffde982fbac085bdaeaf5fa97411638644ae1.tar.gz
ci: automatically create github release when tag is pushed
Fixes: https://github.com/xkbcommon/libxkbcommon/issues/233 Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/github-release.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml
new file mode 100644
index 0000000..e5612c6
--- /dev/null
+++ b/.github/workflows/github-release.yml
@@ -0,0 +1,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.