From 05aba6f4b2e42c14f2ae06565fd656b52cfcba68 Mon Sep 17 00:00:00 2001 From: LY <51789698+Young-Lord@users.noreply.github.com> Date: Mon, 8 Jul 2024 22:11:37 +0800 Subject: [PATCH] dddd --- .github/workflows/autotag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autotag.yml b/.github/workflows/autotag.yml index 7c9f279..a64330b 100644 --- a/.github/workflows/autotag.yml +++ b/.github/workflows/autotag.yml @@ -14,7 +14,7 @@ jobs: - name: Get version run: | version=$(git log --pretty=oneline -1 | grep -oP 'release: \K[0-9.]+') - if [ -n "$version" ]; then echo VERSION=$version >> $GITHUB_ENV; fi + echo "VERSION=$version" >> $GITHUB_ENV # create & push tag - name: Create & push tag if: ${{ env.VERSION }} != ''