Skip to content

Commit 5feeaea

Browse files
committed
Fix python workflow
1 parent 4b72fa1 commit 5feeaea

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ jobs:
1919
python-version: 3.8
2020
- name: Set Version
2121
id: version
22-
run: |
23-
if [[ "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then
24-
echo "${GITHUB_REF#refs/tags/}" > prism-api-version.txt
25-
else
26-
TIMESTAMP=$(date +'%Y%m%d%H%M%S')
27-
echo "0.0.dev${TIMESTAMP}" > prism-api-version.txt
22+
run: echo "${GITHUB_REF#refs/tags/}" > prism-api-version.txt
2823
- name: Create MANIFEST.in
2924
run: echo "include prism-api-version.txt" > MANIFEST.in
3025
- name: Download protobuf for Linux

0 commit comments

Comments
 (0)