-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vscode): add deploy as a semantic-release plugin.
- Loading branch information
1 parent
0641877
commit 04d58d0
Showing
3 changed files
with
15 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const path = require('path'); | ||
const shell = require('shelljs'); | ||
|
||
const pathToPackage = pkg => path.join(__dirname, '..', '..', 'packages', pkg); | ||
|
||
module.exports = { | ||
publish: () => { | ||
const vscode = { | ||
cwd: pathToPackage('vscode'), | ||
}; | ||
shell.exec('npx vsce package --yarn', vscode); | ||
shell.exec(`npx vsce publish -p ${process.env.VSCE_TOKEN} --yarn`, vscode); | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.