use package config in script
This commit is contained in:
parent
ace6900145
commit
5e92829a7a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in a new issue