From cddbf0570a22f1166cd8890aab9cc669b416385a Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Thu, 18 Jan 2024 00:24:03 +0100 Subject: [PATCH] Try to workaround empty `GITHUB_REF` bug of GitHub runners --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da45606..aaa7d77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,7 @@ jobs: python setup.py sdist bdist_wheel - name: Check version number match run: | + export GITHUB_REF=refs/tags/${{ github.event.release.tag_name }} echo "GITHUB_REF: ${GITHUB_REF}" # Make sure the package version is the same as the tag grep -Rq "^Version: ${GITHUB_REF:11}$" mcbackend.egg-info/PKG-INFO