Added version file inside assets in build-process which will be available to view without logging in
This commit is contained in:
@@ -39,6 +39,7 @@ if [ $config = "api" ]; then
|
|||||||
else
|
else
|
||||||
sed "s/version:.*',/version: '${version}',/" apps/mina-sidor-fa/src/environments/environment.$config.ts > temp.txt && mv temp.txt apps/mina-sidor-fa/src/environments/environment.$config.ts
|
sed "s/version:.*',/version: '${version}',/" apps/mina-sidor-fa/src/environments/environment.$config.ts > temp.txt && mv temp.txt apps/mina-sidor-fa/src/environments/environment.$config.ts
|
||||||
fi
|
fi
|
||||||
|
echo $version > apps/mina-sidor-fa/src/assets/version
|
||||||
echo -e "${GREEN}Version set to ${version}${NOCOLOR}"
|
echo -e "${GREEN}Version set to ${version}${NOCOLOR}"
|
||||||
|
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user