Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--.github/workflows/release.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index ad647d045c..2693e08cd4 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -253,7 +253,6 @@ jobs:
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
- name: Publish Extension (nightly)
- # check specifically for nightly in case someone triggers a release on a feature branch
- if: github.ref == 'refs/heads/nightly'
+ if: github.ref != 'refs/heads/release'
working-directory: ./editors/code
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release