Skip to content

Instantly share code, notes, and snippets.

@willmendesneto
Created August 15, 2018 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willmendesneto/2fe057f934507247760c751be95cda86 to your computer and use it in GitHub Desktop.
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
# 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