use package config in script

This commit is contained in:
Thomas Bloor 2019-09-09 21:39:58 +01:00
parent 2faaaf405f
commit 5cb5d7e725

View file

@ -12,13 +12,13 @@ echo "Building releases for $VERSION"
echo "Building Prod Release..." echo "Building Prod Release..."
ng build --configuration=prod npm run build:prod
tar -czf ../WebApp-Releases/LocalLoop-Web-prod-$VERSION.tar.gz dist tar -czf ../WebApp-Releases/LocalLoop-Web-prod-$VERSION.tar.gz dist
echo "Building Dev Release..." echo "Building Dev Release..."
ng build --configuration=dev npm run build:dev
tar -czf ../WebApp-Releases/LocalLoop-Web-dev-$VERSION.tar.gz dist tar -czf ../WebApp-Releases/LocalLoop-Web-dev-$VERSION.tar.gz dist