mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 01:11:13 -06:00
fix: SDA-2010 (Mac and Linux build scripts) (#983)
* Linux: Install new packages to support latest SDA dependency * Fix build-linux scripts An issue with if condition and install gulp-cli deps * Fix build-mac scripts An issue with if condition and install gulp-cli deps
This commit is contained in:
parent
90bbfc526e
commit
a20c196490
@ -36,7 +36,7 @@ fi
|
||||
|
||||
if ! [ -x "$(command -v gulp)" ]; then
|
||||
echo 'Gulp does not exist! Installing it!' >&2
|
||||
npm install -g gulp
|
||||
npm install -g gulp gulp-cli
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v snyk)" ]; then
|
||||
@ -81,7 +81,7 @@ sed -i -e "s/\"buildNumber\"[[:space:]]*\:[[:space:]]*\".*\"/\"buildNumber\":\"
|
||||
echo "Setting package version in pre install script to ${PKG_VERSION}"
|
||||
sed -i -e "s/CURRENT_VERSION=APP_VERSION/CURRENT_VERSION=${PKG_VERSION}/g" ./installer/mac/preinstall.sh
|
||||
|
||||
if [ -z "$EXPIRY_PERIOD" ]; then
|
||||
if [ "$EXPIRY_PERIOD" == "0" ] || [ "$EXPIRY_PERIOD" == 0 ]; then
|
||||
echo 'Expiry period not set, so, not creating expiry for the build'
|
||||
else
|
||||
gulp setExpiry --period ${EXPIRY_PERIOD}
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
if ! [ -x "$(command -v gulp)" ]; then
|
||||
echo 'Gulp does not exist! Installing it!' >&2
|
||||
npm install -g gulp
|
||||
npm install -g gulp gulp-cli
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v snyk)" ]; then
|
||||
@ -98,7 +98,7 @@ echo "Setting package version in pre install script to ${PKG_VERSION}"
|
||||
sed -i -e "s/CURRENT_VERSION=APP_VERSION/CURRENT_VERSION=${PKG_VERSION}/g" ./installer/mac/preinstall.sh
|
||||
|
||||
# Set expiry period for TTL builds
|
||||
if [ -z "$EXPIRY_PERIOD" ]; then
|
||||
if [ "$EXPIRY_PERIOD" == "0" ] || [ "$EXPIRY_PERIOD" == 0 ]; then
|
||||
echo 'Expiry period not set, so, not creating expiry for the build'
|
||||
else
|
||||
gulp setExpiry --period ${EXPIRY_PERIOD}
|
||||
|
Loading…
Reference in New Issue
Block a user