Skip to content

Commit

Permalink
Try to workaround empty GITHUB_REF bug of GitHub runners
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelosthege committed Jan 17, 2024
1 parent a0b1775 commit cddbf05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cddbf05

Please sign in to comment.