use package config in script

This commit is contained in:
Thomas Bloor 2019-09-09 21:39:58 +01:00
parent ace6900145
commit 5e92829a7a
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC

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