Created
August 15, 2018 13:17
-
-
Save willmendesneto/2fe057f934507247760c751be95cda86 to your computer and use it in GitHub Desktop.
ng-publish: Shell script with one of old examples to publish Angular libraries
This file contains hidden or 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
# Usage: | |
# PKG_VERSION=<patch|minor|major> ./publish.sh | |
npm run test && \ | |
npm run build && \ | |
npm run bundlesize && \ | |
node ./build.js && \ | |
npm publish dist && \ | |
npm version $PKG_VERSION -m "v%s" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment