From d23226f3ea0189b8aea3aa49b7aeceb397ef65e9 Mon Sep 17 00:00:00 2001 From: bbedward Date: Tue, 1 Sep 2026 10:28:28 -0400 Subject: [PATCH] ci: update release job --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d37d760fc..74c499351 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,26 @@ concurrency: cancel-in-progress: true jobs: + verify-version: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + ref: ${{ inputs.tag }} + + - name: Verify quickshell/VERSION matches the tag + env: + TAG: ${{ inputs.tag }} + run: | + set -euo pipefail + version=$(cat quickshell/VERSION) + if [ "${version#v}" != "${TAG#v}" ]; then + echo "::error::quickshell/VERSION is '${version}' but the tag is '${TAG}'"; exit 1 + fi + build-core: + needs: [verify-version] runs-on: ubuntu-latest strategy: matrix: