We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce2d4df commit 3ee2a6cCopy full SHA for 3ee2a6c
setup.py
@@ -2,7 +2,7 @@
2
import os
3
4
if "GITHUB_REF" in os.environ:
5
- version = os.environ["GITHUB_REF"]
+ version = os.environ["GITHUB_REF"].split("/")[-1]
6
else:
7
version = "0.0.1"
8
0 commit comments