forked from lthn/blockchain
build: build script macOS improvements
This commit is contained in:
parent
f0f8f4309b
commit
af8958a7cc
1 changed files with 4 additions and 2 deletions
|
|
@ -131,14 +131,16 @@ echo "Build success"
|
|||
|
||||
echo "############### Uploading... ################"
|
||||
|
||||
scp $ZANO_BUILD_DIR/release/src/$package_filename zano_build_server:/var/www/html/builds/
|
||||
package_filepath=$ZANO_BUILD_DIR/release/src/$package_filename
|
||||
|
||||
scp $package_filepath zano_build_server:/var/www/html/builds/
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to upload to remote server"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
read checksum <<< $(shasum -a 256 $package_filename | awk '/^/ { print $1 }' )
|
||||
read checksum <<< $( shasum -a 256 $package_filepath | awk '/^/ { print $1 }' )
|
||||
|
||||
mail_msg="New ${build_prefix_label}${testnet_label}build for macOS-x64:<br>
|
||||
http://build.zano.org:8081/builds/$package_filename<br>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue