From 6a30c1ab5385b5beb9539fea047560b6eabc37d3 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 3 Aug 2025 19:43:20 +0000 Subject: [PATCH] Update .gitea/workflows/build_and_puplish.yml --- .gitea/workflows/build_and_puplish.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/build_and_puplish.yml b/.gitea/workflows/build_and_puplish.yml index 3c0ba63..cd7fbd5 100644 --- a/.gitea/workflows/build_and_puplish.yml +++ b/.gitea/workflows/build_and_puplish.yml @@ -1,9 +1,7 @@ on: push: - branches: - - main - #tags: - # - "*" + tags: + - "*" jobs: build_and_publish: runs-on: ubuntu-latest @@ -28,15 +26,15 @@ jobs: run: npm -g i @vscode/vsce - name: Build Package Files run: npm run package - # - name: Update package.json Version - # run: npm version ${{ github.ref_name }} --no-git-tag-version - # - name: Commit and Push Changes - # run: | - # git config user.name "${{ vars.USERNAME_GIT }}" - # 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 + - name: Update package.json Version + run: npm version ${{ github.ref_name }} --no-git-tag-version + - name: Commit and Push Changes + run: | + git config user.name "${{ vars.USERNAME_GIT }}" + 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 - name: Publish to Visual Studio Marketplace run: vsce pack env: @@ -44,7 +42,7 @@ jobs: - name: Upload VSIX to Release uses: softprops/action-gh-release@v1 with: - files: "*.vsix" + files: "nx-post-support-*.vsix" # generate_release_notes: true # Automatische Release Notes # draft: false # N # prerelease: false