diff --git a/.gitea/workflows/build_and_puplish.yml b/.gitea/workflows/build_and_puplish.yml index 29bf449..65ec672 100644 --- a/.gitea/workflows/build_and_puplish.yml +++ b/.gitea/workflows/build_and_puplish.yml @@ -1,7 +1,6 @@ on: - push: - tags: - - "*" + release: + types: [published] jobs: build_and_publish: runs-on: ubuntu-latest @@ -35,7 +34,13 @@ jobs: git add package.json git commit -m "Update version to ${{ github.ref_name }}" git push origin HEAD:main - - name: Publish to Visual Studio Marketplace + - name: Publish to Visual Studio Marketplace (Pre-Release) + if: ${{ github.event.release.prerelease }} + run: vsce publish --pre-release + env: + VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }} + - name: Publish to Visual Studio Marketplace (Stable) + if: ${{ !github.event.release.prerelease }} run: vsce publish env: VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }} diff --git a/images/nx-1.png b/images/nx-1.png new file mode 100644 index 0000000..a0356bd Binary files /dev/null and b/images/nx-1.png differ diff --git a/package.json b/package.json index f97a836..e92cf50 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,9 @@ "name": "nx-post-support", "displayName": "NX Postprocessor Support", "description": "", - "version": "0.4.14", + "version": "2025.8.100", "publisher": "Christoph", + "icon": "images/nx-1.png", "serverInfo": { "name": "NX Postprocessor Support", "module": "nx-post-support"