Skip to content

Commit

Permalink
new workflow file for develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnedemekas committed Apr 15, 2024
1 parent 68511c4 commit 398c292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: release-info
run: |
RELEASE_VERSION=$(echo $LATEST_RELEASE | tr -d "v ")
VERSION=$(cat diplomat/__init__.py | grep "__version__" | cut -d "=" -f 2 | tr -d '" ')
VERSION=$(cat diplomat/__init__.py | grep "__version_dev__" | cut -d "=" -f 2 | tr -d '" ')
if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
then
echo "$VERSION is not a valid version!"
Expand Down

0 comments on commit 398c292

Please sign in to comment.