Skip to content

Commit cddbf05

Browse files
Try to workaround empty GITHUB_REF bug of GitHub runners
1 parent a0b1775 commit cddbf05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
python setup.py sdist bdist_wheel
3737
- name: Check version number match
3838
run: |
39+
export GITHUB_REF=refs/tags/${{ github.event.release.tag_name }}
3940
echo "GITHUB_REF: ${GITHUB_REF}"
4041
# Make sure the package version is the same as the tag
4142
grep -Rq "^Version: ${GITHUB_REF:11}$" mcbackend.egg-info/PKG-INFO

0 commit comments

Comments
 (0)