1 parent 6ca0c60 commit c59eac3Copy full SHA for c59eac3
1 file changed
.github/workflows/publish-on-push.yml
@@ -25,8 +25,8 @@ jobs:
25
run: |
26
python -m pip install --upgrade pip
27
python -m pip install build twine
28
-
29
- - name: Set semantic version for this push
+
+ - name: Set semantic version for this push
30
env:
31
RUN_NUMBER: ${{ github.run_number }}
32
@@ -41,7 +41,6 @@ jobs:
41
if not re.search(r'^version\s*=\s*"([^"]+)"', content, flags=re.MULTILINE):
42
raise SystemExit("Could not find [project].version in pyproject.toml")
43
44
- run_number = int(os.environ["RUN_NUMBER"])
45
if run_number < 1:
46
raise SystemExit("RUN_NUMBER must be >= 1")
47
0 commit comments