-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add package:test for easy create and zip local version
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
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,11 @@ | ||
#!/bin/zsh | ||
|
||
PACKAGE_VERSION=$(grep version package.json | sed 's/.*"version": "\(.*\)".*/\1/') | ||
|
||
GREEN='\033[0;32m' | ||
BLUE='\033[0;34m' | ||
NC='\033[0m' # No Color | ||
|
||
echo "${BLUE}Packaging extension for version $PACKAGE_VERSION${NC}" | ||
yarn package && zip compare-folders-$PACKAGE_VERSION.vsix.zip compare-folders-$PACKAGE_VERSION.vsix | ||
echo "${GREEN}Packaged extension for version $PACKAGE_VERSION${NC}" |