From 082713afecc40c0d2bc230ffab22e1527298a54c Mon Sep 17 00:00:00 2001 From: Michael Angelo Rivera <55844504+michaelangeloio@users.noreply.github.com> Date: Wed, 8 Nov 2023 21:08:25 -0500 Subject: [PATCH] fix: move release to tag event (#31) --- .github/workflows/release-please.yaml | 7 ------- .../{release-old.txt => release-vsix.yaml} | 13 ++----------- crates/does-it-throw-wasm/Cargo.toml | 2 +- crates/does-it-throw/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 20 deletions(-) rename .github/workflows/{release-old.txt => release-vsix.yaml} (75%) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 66a7ff0..30bb05f 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -44,10 +44,3 @@ jobs: uses: google-github-actions/release-please-action@v3 with: command: manifest - - - name: Publish to Visual Studio Marketplace - if: ${{ steps.release.outputs.release_created }} - uses: HaaLeo/publish-vscode-extension@65512ae7dcf96159b51fdd7ed73eb17d5cacad33 - with: - pat: ${{ secrets.VSCE_PAT }} - registryUrl: https://marketplace.visualstudio.com diff --git a/.github/workflows/release-old.txt b/.github/workflows/release-vsix.yaml similarity index 75% rename from .github/workflows/release-old.txt rename to .github/workflows/release-vsix.yaml index e32c282..70a3222 100644 --- a/.github/workflows/release-old.txt +++ b/.github/workflows/release-vsix.yaml @@ -1,9 +1,9 @@ -name: Release +name: Release VSIX on: push: tags: - - "vscode-v*" + - "does-it-throw-vscode-v*" jobs: release: @@ -43,12 +43,3 @@ jobs: with: pat: ${{ secrets.VSCE_PAT }} registryUrl: https://marketplace.visualstudio.com - - - uses: "marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false - automatic_release_tag: ${{github.ref_name}} - files: | - LICENSE.txt - *.vsix diff --git a/crates/does-it-throw-wasm/Cargo.toml b/crates/does-it-throw-wasm/Cargo.toml index a3b23ff..213683c 100644 --- a/crates/does-it-throw-wasm/Cargo.toml +++ b/crates/does-it-throw-wasm/Cargo.toml @@ -2,7 +2,7 @@ edition = "2021" name = "does-it-throw-wasm" version = "0.1.7" -description = "LSP server wasm binding for does-it-throw, using SWC" +description = "a wasm binding for does-it-throw, using SWC" license = "MIT" documentation = "https://github.com/michaelangeloio/does-it-throw/blob/main/readme.md" repository = "https://github.com/michaelangeloio/does-it-throw" diff --git a/crates/does-it-throw/Cargo.toml b/crates/does-it-throw/Cargo.toml index 7ec4544..08c14e5 100644 --- a/crates/does-it-throw/Cargo.toml +++ b/crates/does-it-throw/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "does-it-throw" version = "0.1.7" -description = "LSP library for finding ES throw statements, using SWC" +description = "a library for finding ES throw statements, using SWC" license = "MIT" documentation = "https://github.com/michaelangeloio/does-it-throw/blob/main/readme.md" repository = "https://github.com/michaelangeloio/does-it-throw"