Skip to content

Commit b6eab36

Browse files
committed
fix sha addition on tags
1 parent 5a8ebce commit b6eab36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
with:
141141
submodules: 'recursive'
142142
- name: Append build hash if not a tagged commit
143-
if: github.ref != 'refs/tags/*'
143+
if: startsWith(github.ref, 'refs/tags/v') != true
144144
run: echo '::set-env name=BUILD_COMMIT_HASH::${{github.sha}}'
145145
- name: Building wheel
146146
run: python3 -m pip wheel . -w ./wheelhouse/

0 commit comments

Comments
 (0)