mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
45c46c7af3
The deployment is triggered by tagging on the zeromq/libzmq repository. Of the many builds travis is checking only the default one with libsodium and drafts disabled is used for deployment. For now the results of `make distcheck` are deployed as well as their md5 and sha1 hash sums. Further changes may upload a generated Changelog as well.
21 lines
406 B
Bash
Executable File
21 lines
406 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
if [[ $TRAVIS_OS_NAME =~ (linux) ]]; then
|
|
# Tell travis to deploy all files in dist
|
|
mkdir dist
|
|
export ZEROMQ4X_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 ZEROMQ4X_DEPLOYMENT=""
|
|
fi
|