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

support manual release version #895

Merged
merged 5 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
15 changes: 10 additions & 5 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ resources:
endpoint: Monaco

parameters:
- name: publishPackage
displayName: 🚀 Publish
type: boolean
default: false
- name: nextVersion
displayName: '🚀 Release Version (eg: none, major, minor, patch, or X.X.X)'
type: string
default: 'none'

extends:
template: azure-pipelines/npm-package/pipeline.yml@templates
Expand All @@ -38,4 +38,9 @@ extends:
testSteps:
- script: npm ci
- script: npm test
publishPackage: ${{ parameters.publishPackage }}
${{ if eq(parameters.nextVersion, 'none') }}:
publishPackage: false
${{ else }}:
publishPackage: true
nextVersion: ${{ parameters.nextVersion }}
ghCreateTag: true
joaomoreno marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/vsce",
"version": "2.20.1",
"version": "0.0.0",
"description": "VS Code Extensions Manager",
"repository": {
"type": "git",
Expand Down Expand Up @@ -91,4 +91,4 @@
"watch-files": "src/**",
"spec": "src/test/**/*.ts"
}
}
}