Auto merge of #14648 - zr40:publish-nightly-vsce-pre-release, r=lnicola
Specify `--pre-release` when publishing vsce nightly According to https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions, when publishing pre-release versions, `--pre-release` must also be passed in the publish step. Currently the behavior with and without the flag seems to be the same, but since it's documented to be required, don't rely on this staying that way. This flag was previously removed in #13020, so this partially reverts that change.
This commit is contained in:
commit
3f21b791e9
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -270,7 +270,7 @@ jobs:
|
||||
- name: Publish Extension (Code Marketplace, 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
|
||||
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
|
||||
|
||||
- name: Publish Extension (OpenVSX, nightly)
|
||||
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
|
||||
|
Loading…
Reference in New Issue
Block a user