Last active
July 8, 2017 02:27
-
-
Save abrarShariar/53206cf5ba18835eea4e3d3ed0c44811 to your computer and use it in GitHub Desktop.
script for build and push - zeference
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
## for build and tag | |
npm run build:prod | |
## which is similar to | |
node --max_old_space_size=2048 ./node_modules/.bin/ng build --prod --env=prod | |
## if build successful | |
git tag -f build-passed | |
git push --tags -f | |
## set files to watch at higher number | |
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment