From 398c292bc6f7e01eb93dee46020f101aa5fb766a Mon Sep 17 00:00:00 2001 From: Daphne Demekas Date: Mon, 15 Apr 2024 12:50:37 -0400 Subject: [PATCH] new workflow file for develop branch --- .github/workflows/publish-to-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index cccc64a..29bd1d0 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -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!"