Skip to content

Commit

Permalink
Auto merge of #12359 - lnicola:universal-vsix-part-2, r=lnicola
Browse files Browse the repository at this point in the history
internal: Try to publish the universal VSIX before the other ones

CC microsoft/vscode#149518 (comment)
  • Loading branch information
bors committed May 23, 2022
2 parents 402dba8 + abc541e commit 7be85a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ jobs:
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
working-directory: ./editors/code
# token from https://dev.azure.com/rust-analyzer/
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-no-server.vsix ../../dist/rust-analyzer-alpine-x64.vsix ../../dist/rust-analyzer-darwin-arm64.vsix ../../dist/rust-analyzer-darwin-x64.vsix ../../dist/rust-analyzer-linux-arm64.vsix ../../dist/rust-analyzer-linux-x64.vsix ../../dist/rust-analyzer-win32-arm64.vsix ../../dist/rust-analyzer-win32-x64.vsix

- name: Publish Extension (nightly)
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
working-directory: ./editors/code
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --pre-release --packagePath ../../dist/rust-analyzer-no-server.vsix ../../dist/rust-analyzer-alpine-x64.vsix ../../dist/rust-analyzer-darwin-arm64.vsix ../../dist/rust-analyzer-darwin-x64.vsix ../../dist/rust-analyzer-linux-arm64.vsix ../../dist/rust-analyzer-linux-x64.vsix ../../dist/rust-analyzer-win32-arm64.vsix ../../dist/rust-analyzer-win32-x64.vsix

0 comments on commit 7be85a5

Please sign in to comment.