update build scripts

This commit is contained in:
Bill Church 2019-05-25 22:14:50 -04:00
parent 7c3cfa59d5
commit a66f02936d
7 changed files with 15 additions and 2 deletions

View file

@ -1 +1 @@
c775381cbf3612f9b9941816ff8f0597c7de4dfac59d9ce3ec33fb675d3f2be4 Build/Release/BIG-IP-ILX-WebSSH2-0.2.8.tgz
e2e70f7d2949b6c8fe0299f888a3725763a62c01a1faea1fb729babc2ed51c92 Build/Release/BIG-IP-ILX-WebSSH2-0.2.8.tgz

Binary file not shown.

View file

@ -1 +1 @@
c775381cbf3612f9b9941816ff8f0597c7de4dfac59d9ce3ec33fb675d3f2be4 Build/Release/BIG-IP-ILX-WebSSH2-0.2.8.tgz
e2e70f7d2949b6c8fe0299f888a3725763a62c01a1faea1fb729babc2ed51c92 Build/Release/BIG-IP-ILX-WebSSH2-0.2.8.tgz

View file

@ -5,6 +5,13 @@ source ./scripts/env.sh
source ./scripts/util.sh
./scripts/pull.sh
if [ $? -ne 0 ]; then
# failure
tput bel;tput bel;tput bel;tput bel
echo -e "\n${fgLtRed}Pull command failed. Giving up.${fgLtWhi}\n"
echo ${output}
exit 255
fi
# get version of package from package.json
package_version=$(jq -r ".version" workspace/extensions/webssh2/package.json)
@ -31,3 +38,5 @@ echo " $webssh_pua_location/$webssh_package_name-current.tgz"
echo " $webssh_pua_location/$webssh_package_name-current.tgz.sha256"
echo -e "\n👍 Build Complete 👍\n"
exit 0

View file

@ -26,3 +26,5 @@ echoNotice "Pulling ${fgLtCya}$webssh_workspace_name${fgLtWhi} from ${fgLtCya}$w
runCommand "rsync -e 'ssh -o ClearAllForwardings=yes -ax' -avq --include=\"extensions/ephemeral_auth/node_modules/f5-*\" --exclude=\".DS_Store\" --exclude=\"extensions/ephemeral_auth/node_modules/*\" $webssh_ilxhost:/var/ilx/workspaces/Common/$webssh_workspace_name/. workspace/. 2>&1"
echo -e "\n👍 Pull complete 👍\n"
exit 0

View file

@ -57,3 +57,5 @@ else
fi
echo -e "\n👍 Push complete 👍\n"
exit 0