publish command

This commit is contained in:
João Moreno
2020-05-18 14:59:22 +02:00
parent 12b150a961
commit ee4e97fe6a
3 changed files with 142 additions and 1 deletions

View File

@@ -18,6 +18,21 @@
"vscode.git"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "github.publish",
"title": "Publish to GitHub"
}
]
},
"viewsWelcome": [
{
"view": "scm",
"contents": "%welcome.publishFolder%",
"when": "config.git.enabled && git.state == initialized && workbenchState == folder"
}
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "gulp compile-extension:github",