From ea8273efa56660e969c78d5a985f519337ed1b8e Mon Sep 17 00:00:00 2001 From: Jubal Mabaquiao Date: Sat, 20 Jul 2024 01:00:08 +0800 Subject: [PATCH] fix version variable not correctly set --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1f9a4698..46c2a0ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: GIT_COMMIT_SHA="${{ github.sha }}" GIT_TAG=$(basename "${{ github.ref }}") echo export const gitCommitSha = \"$GIT_COMMIT_SHA\" > $VERSION_FILE - echo export const version = \"$VERSION\" >> $VERSION_FILE + echo export const version = \"$GIT_TAG\" >> $VERSION_FILE npm install --ignore-scripts npm run vendor npm run build