From f9f46d42976e3403984595e69dc7d9bf84414f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Costa?= <119084160+BleckWolf25@users.noreply.github.com> Date: Fri, 10 Jul 2026 15:55:07 +0100 Subject: [PATCH] Delete .github/workflows/release.yml --- .github/workflows/release.yml | 76 ----------------------------------- 1 file changed, 76 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a49ce7d..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -permissions: - contents: write - -jobs: - release: - name: Package & Release - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - - uses: actions/checkout@v7 - - - name: Install pnpm - uses: pnpm/action-setup@v6 - with: - version: 9.15.0 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: 24 - cache: pnpm - - - name: Install Dependencies - run: pnpm install --frozen-lockfile - - - name: Compile and Build Webview - run: pnpm run compile - - - name: Package Extension - run: npx @vscode/vsce package --no-dependencies - - - name: Extract Release Notes from CHANGELOG.md - id: extract_notes - run: | - VERSION=${GITHUB_REF#refs/tags/v} - echo "Extracting release notes for version $VERSION" - - # Match lines starting from ## [VERSION] or ## VERSION until the next ## header - sed -n "/## \[\{0,1\}$VERSION\]\{0,1\}/,/## /p" CHANGELOG.md | grep -v '## ' > release_notes.md - - if [ ! -s release_notes.md ]; then - echo "No release notes found for version $VERSION in CHANGELOG.md. Using fallback." - echo "Release version $VERSION" > release_notes.md - fi - - - name: Create GitHub Release - uses: softprops/action-gh-release@v3 - with: - body_path: release_notes.md - files: | - *.vsix - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Publish to VS Code Marketplace - env: - VSCE_PAT: ${{ secrets.VSCE_PAT }} - run: | - if [ -n "$VSCE_PAT" ]; then - PACKAGE_FILE=$(ls *.vsix | head -n 1) - if [ -n "$PACKAGE_FILE" ]; then - npx @vscode/vsce publish --pat "$VSCE_PAT" --packagePath "$PACKAGE_FILE" --no-dependencies - else - echo "No VSIX package found; skipping Marketplace publish." - fi - else - echo "VSCE_PAT not set; skipping Marketplace publish." - fi