From 11a44756d2fe2894d3f415ba881ece7cbdcbde34 Mon Sep 17 00:00:00 2001 From: LY <51789698+Young-Lord@users.noreply.github.com> Date: Mon, 8 Jul 2024 22:07:43 +0800 Subject: [PATCH] sadsd --- .github/workflows/autotag.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/autotag.yml b/.github/workflows/autotag.yml index 422accd..7c9f279 100644 --- a/.github/workflows/autotag.yml +++ b/.github/workflows/autotag.yml @@ -14,11 +14,10 @@ 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 + if [ -n "$version" ]; then echo VERSION=$version >> $GITHUB_ENV; fi # create & push tag - name: Create & push tag if: ${{ env.VERSION }} != '' run: | git tag v$VERSION git push origin v$VERSION - \ No newline at end of file