Squashed 'libs/libzmq/' content from commit 2b2fb9c7
git-subtree-dir: libs/libzmq git-subtree-split: 2b2fb9c7082dbc16c1323b97040a4edcfa2b997b
This commit is contained in:
20
ci_deploy.sh
Normal file
20
ci_deploy.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# do NOT set -x or it will log the secret tokens!
|
||||
set -e
|
||||
|
||||
if [[ $BUILD_TYPE == "default" && $CURVE == "libsodium" && -z $DRAFT ]]; then
|
||||
# Tell travis to deploy all files in dist
|
||||
mkdir dist
|
||||
export LIBZMQ_DEPLOYMENT=dist/*
|
||||
# Move archives to dist
|
||||
mv *.tar.gz dist
|
||||
mv *.zip dist
|
||||
# Generate hash sums
|
||||
cd dist
|
||||
md5sum *.zip *.tar.gz > MD5SUMS
|
||||
sha1sum *.zip *.tar.gz > SHA1SUMS
|
||||
cd -
|
||||
else
|
||||
export LIBZMQ_DEPLOYMENT=""
|
||||
fi
|
||||
Reference in New Issue
Block a user