Skip to content

Commit

Permalink
Fix python workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vogti committed May 17, 2024
1 parent 4b72fa1 commit 5feeaea
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ jobs:
python-version: 3.8
- name: Set Version
id: version
run: |
if [[ "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then
echo "${GITHUB_REF#refs/tags/}" > prism-api-version.txt
else
TIMESTAMP=$(date +'%Y%m%d%H%M%S')
echo "0.0.dev${TIMESTAMP}" > prism-api-version.txt
run: echo "${GITHUB_REF#refs/tags/}" > prism-api-version.txt
- name: Create MANIFEST.in
run: echo "include prism-api-version.txt" > MANIFEST.in
- name: Download protobuf for Linux
Expand Down

0 comments on commit 5feeaea

Please sign in to comment.