Update .gitea/workflows/build_and_puplish.yml
/ build_and_publish (push) Successful in 37s

This commit is contained in:
2025-08-03 19:43:20 +00:00
parent 6d404f26f2
commit 6a30c1ab53
+12 -14
View File
@@ -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