Skip to content

Instantly share code, notes, and snippets.

@willmendesneto
Created August 15, 2018 13:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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