Fix publishing pre-release versions of the extension to the marketplace
MODIFY
.github/workflows/release.yml
.github/workflows/release.yml
@@ -126,6 +126,15 @@ jobs:
mkdir ../../dist
npx vsce package -o "../../dist/rome_lsp-${{ matrix.code-target }}.vsix" --target ${{ matrix.code-target }}
working-directory: editors/vscode
+ if: needs.check.outputs.prerelease != 'true'
+ - name: Package extension (pre-release)
+ run: |
+ npm ci
+ npm run compile
+ mkdir ../../dist
+ npx vsce package --pre-release -o "../../dist/rome_lsp-${{ matrix.code-target }}.vsix" --target ${{ matrix.code-target }}
+ working-directory: editors/vscode
+ if: needs.check.outputs.prerelease == 'true'
- name: Upload artifacts
uses: actions/upload-artifact@v2

MODIFY
editors/vscode/package.json
editors/vscode/package.json
"url": "https://github.com/rome/tools/issues"
},
"engines": {
- "vscode": "^1.61.0"
+ "vscode": "^1.63.0"
},
"contributes": {
"configuration": {

Fix publishing pre-release versions of the extension to the marketplace (#2165)