-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Northern Man
committed
Nov 9, 2018
1 parent
2a5b94c
commit e86f162
Showing
5 changed files
with
71 additions
and
21 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
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
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 |
---|---|---|
@@ -1,10 +1,13 @@ | ||
#! /bin/sh | ||
|
||
if ~/npm/bin/nsp check --filter 2; then | ||
git add . | ||
git commit -m "$1" | ||
#git push origin master --tags | ||
npm version patch | ||
git push origin master --tags | ||
npm publish | ||
npm run-script document | ||
git add . | ||
git commit -m "$1" | ||
#git push origin master --tags | ||
npm version patch | ||
git push origin master --tags | ||
npm publish | ||
else | ||
echo "Not publishing due to security vulnerabilites" | ||
echo "Not publishing due to security vulnerabilites" | ||
fi |