.gitlab: merge release into xserver-build workflow

Not neccessary to have entirely separate workflow for it - that's
just spamming the workflow list.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-11 17:22:53 +02:00
committed by Enrico Weigelt
parent c754162a36
commit d6225de192
2 changed files with 14 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
name: Build X servers
permissions:
contents: read
contents: write
env:
MESON_BUILDDIR: "build"
@@ -180,3 +180,16 @@ jobs:
run: .gitlab-ci/check-ddx-build.sh
- name: manpage check
run: .gitlab-ci/manpages-check
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

View File

@@ -1,21 +0,0 @@
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