Skip to content

Commit 4ef4e09

Browse files
committed
Release action: use tag instead of CMake version for packaging
1 parent 272fb00 commit 4ef4e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
IS_RELEASE="true"
4747
echo "IS_RELEASE=${IS_RELEASE}"
4848
echo ::set-output name=IS_RELEASE::"${IS_RELEASE}"
49-
PKG_VERSION=${ZENOH_VERSION}
49+
PKG_VERSION=${GIT_TAG}
5050
elif [ -n "${GIT_BRANCH}" ]; then
5151
PKG_VERSION=${GIT_BRANCH}-${GITHUB_SHA:0:8}
5252
else
@@ -179,7 +179,7 @@ jobs:
179179
ssh -o "StrictHostKeyChecking=no" ${SSH_TARGET} ls -al
180180
echo "---- list artifacts to upload:"
181181
ls -R ARTIFACTS || true
182-
DOWNLOAD_DIR=${ECLIPSE_BASE_DIR}/${{ needs.preps.outputs.ZENOH_VERSION }}
182+
DOWNLOAD_DIR=${ECLIPSE_BASE_DIR}/${{ needs.preps.outputs.PKG_VERSION }}
183183
echo "---- copy artifacts into ${DOWNLOAD_DIR}"
184184
ssh -o "StrictHostKeyChecking=no" ${SSH_TARGET} mkdir -p ${DOWNLOAD_DIR}
185185
cd ARTIFACTS

0 commit comments

Comments
 (0)