Skip to content

Commit 63eda63

Browse files
committed
Update version retrieval logic in CD workflow to use RELEASE_TAG
1 parent 29016ed commit 63eda63

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ jobs:
111111
if [ -n "${INPUT_VERSION}" ]; then
112112
ver="${INPUT_VERSION}"
113113
else
114-
tag=$(python -c "import versioneer; print(versioneer.get_version())")
115-
ver="${tag#v}"
114+
tag="${RELEASE_TAG}"
115+
ver="${tag#moppy-}"
116+
ver="${ver#v}"
116117
fi
117118
echo "version=$ver" >> $GITHUB_OUTPUT
118119
- name: Install tooling (jq, gh, Python deps)

0 commit comments

Comments
 (0)