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

[CI] Set different versions for each vsix package #1478

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
npm install -g vsce
- name: Build vsix package
run: |
vsce package
npm run createpkg-nightly
# TODO Enable publish job
- name: Publish vsix package
if: ${{ false }}
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@
"test": "npm run unittest",
"test-no-screen": "DISPLAY=:44 xvfb-run --server-num 44 npm run test",
"coverage": "npm run test coverage",
"clean": "rm -rf out"
"clean": "rm -rf out",
"createpkg-local": "vsce package -o one-vscode-local-$(git rev-parse --short HEAD)-$(date '+%Y%m%d%H%M%S').vsix",
"createpkg-nightly": "VER=$(npm version --no-git-tag-version --no-commit-hooks minor | cut -c2-) && vsce package --no-git-tag-version ${VER}-$(git rev-parse --short HEAD)"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
Expand Down