From 90e25f03a955e0cacc0a317ce8c996820ffef1ab Mon Sep 17 00:00:00 2001 From: wangxye Date: Mon, 20 Nov 2023 17:08:54 +0800 Subject: [PATCH] chore: fix the tag version fetch Signed-off-by: wangxye --- .github/workflows/nightly-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 7f924af55..016b4f0e9 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -47,7 +47,7 @@ jobs: DOCKER_REPO: ${{ env.DOCKER_REPO }} DOCKER_NIGHTLY_VERSION: ${{ env.DOCKER_NIGHTLY_VERSION }} run: | - FULL_NODE_VERSION=${git ls-remote --tags | awk -F '/' 'END{print $3}'} + FULL_NODE_VERSION=$(git ls-remote --tags | awk -F '/' 'END{print $3}') COMMIT_VERSION=$(git rev-parse --short HEAD) VERSION=${FULL_NODE_VERSION}-${COMMIT_VERSION}-${DOCKER_NIGHTLY_VERSION} sh build-ci.sh ${DOCKER_REPO} ${VERSION}