.github: add workflow for github releases

when tag xlibre-xserver-* is pushed, automatically create a github release.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-09 13:00:12 +02:00
committed by Enrico Weigelt
parent bab9362335
commit 939ba0803c
2 changed files with 38 additions and 0 deletions

21
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Publish release on github
on:
push
permissions:
contents: write
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/xlibre-xserver-') }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: .github/scripts/github/make-release