From 42ed3b87ef13b339a9b32121ee67630ec27123bf Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 8 Jan 2025 08:52:11 +0000 Subject: [PATCH] Update .gitea/workflows/build_and_puplish.yml --- .gitea/workflows/build_and_puplish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/build_and_puplish.yml b/.gitea/workflows/build_and_puplish.yml index 464166f..cafe56c 100644 --- a/.gitea/workflows/build_and_puplish.yml +++ b/.gitea/workflows/build_and_puplish.yml @@ -20,12 +20,9 @@ jobs: run: npm i - name: Install VSCE run: npm -g i @vscode/vsce - - name: Extract tag name - run: echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV - - name: Update package.json version run: | - TAG_NAME=${GITHUB_ENV##*/} + TAG_NAME=${{ github.ref_name }} npm version --no-git-tag-version $TAG_NAME - name: Commit changes run: |