From a90e15514bb04d321b2288d9e6ed9d4102204528 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 11 Aug 2025 14:23:08 +0000 Subject: [PATCH] Update .gitea/workflows/build_and_puplish.yml --- .gitea/workflows/build_and_puplish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build_and_puplish.yml b/.gitea/workflows/build_and_puplish.yml index 65ec672..84486bf 100644 --- a/.gitea/workflows/build_and_puplish.yml +++ b/.gitea/workflows/build_and_puplish.yml @@ -33,7 +33,7 @@ jobs: git config user.email "${{ vars.EMAIL_GIT }}" git add package.json git commit -m "Update version to ${{ github.ref_name }}" - git push origin HEAD:main + git push origin HEAD:${GITHUB_HEAD_REF:-$(git rev-parse --abbrev-ref HEAD)} - name: Publish to Visual Studio Marketplace (Pre-Release) if: ${{ github.event.release.prerelease }} run: vsce publish --pre-release