Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also publish to OpenVSIX #62

Merged
merged 1 commit into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/publish-to-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@ jobs:
- name: Publish to VS Code Marketplace
run: |
vsce -V
vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath sqltools-databricks-driver-*.vsix --githubBranch main --allow-star-activation --skip-duplicate
vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath sqltools-databricks-driver-*.vsix --allow-star-activation --skip-duplicate

env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

- name: Install ovsx
run: npm install -g ovsx

- name: Publish to Open VSIX
run: |
ovsx verify-pat databricks
ovsx publish --packagePath sqltools-databricks-driver-*.vsix --skip-duplicate
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
Binary file modified .yarn/install-state.gz
Binary file not shown.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"scripts": {
"vscode:prepublish": "yarn run build",
"vscode:package": "vsce package --allow-star-activation --githubBranch ${RELEASE_TAG:-main}",
"vscode:package": "vsce package --allow-star-activation --githubBranch release-v$(cat package.json | jq -r .version)",
"build": "rm -rf out && yarn run compile:ext && yarn run compile:ls",
"esbuild": "esbuild --platform=node --tsconfig=./tsconfig.json --external:vscode --log-level=error --color=true --format=cjs",
"compile:ext": "yarn run esbuild --bundle ./src/extension.ts --outfile=./out/extension.js --target=es2017 --define:process.env.PRODUCT=\"'ext'\"",
Expand Down Expand Up @@ -79,16 +79,16 @@
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.0",
"@types/node": "^18.15.0",
"@types/uuid": "^9.0.1",
"@types/vscode": "^1.71.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/vsce": "^2.17.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@vscode/vsce": "^2.18.0",
"conventional-changelog-cli": "^2.2.2",
"esbuild": "^0.17.10",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"esbuild": "^0.17.11",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
Expand Down
Loading