Skip to content

Commit 58bccdc

Browse files
committed
handle rc
1 parent ab8625d commit 58bccdc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/CICD.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
# github_token: ${{ secrets.TOKEN }}
7070
- name: Build
7171
run: |
72-
sed -i 's/version = "[0-9]*\.[0-9]*\.[0-9]*"/version = "0.0.0"/' pyproject.toml
72+
cat pyproject.toml
73+
sed -i 's/version = "[0-9]*\.[0-9]*\.[0-9]*\(-rc\.[0-9]*\)\?"/version = "0.0.0"/' pyproject.toml
74+
cat pyproject.toml
7375
python3 -m pip install --upgrade build
7476
python3 -m build
7577
- name: Upload GH

0 commit comments

Comments
 (0)