Skip to content

Commit

Permalink
Added two new bash shell scripts to wrap up the process of packaging or
Browse files Browse the repository at this point in the history
pubishing the extension via vsce. Added these files to .vscodeignore so that
they will not themselves be released.

Both scripts first remove any existing package archives (*.vsix) and then run
the package or publish command.

In future, adding additional steps to the release process will be as simple as
updating these scripts.
  • Loading branch information
Nos78 committed Nov 13, 2022
1 parent cd72459 commit 664c2f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ node_modules/**
.nyc_output/**
coverage/**
keep/**
package
publish

4 changes: 4 additions & 0 deletions package
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
rm file-header-comments*.vsix
vsce package

4 changes: 4 additions & 0 deletions publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
rm file-header-comments*.vsix
vsce publish

0 comments on commit 664c2f3

Please sign in to comment.