Skip to content

Commit 29016ed

Browse files
committed
Update version retrieval method in CD workflow
1 parent c8f5f03 commit 29016ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
if [ -n "${INPUT_VERSION}" ]; then
112112
ver="${INPUT_VERSION}"
113113
else
114-
tag="${RELEASE_TAG}"
114+
tag=$(python -c "import versioneer; print(versioneer.get_version())")
115115
ver="${tag#v}"
116116
fi
117117
echo "version=$ver" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)