From 71bf72527bd06cd0a438b059e5ac717a5a58bb4a Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Sun, 2 Mar 2014 23:42:59 +0100 Subject: [PATCH] travis tuning --- ci/deploy-bintray.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/deploy-bintray.sh b/ci/deploy-bintray.sh index 9c535a3..a968226 100755 --- a/ci/deploy-bintray.sh +++ b/ci/deploy-bintray.sh @@ -4,6 +4,12 @@ set -e +# do this only for the gcc run +if [ "$CC" != "gcc" ]; then + echo "skipped upload because $CC != gcc" + exit 0 +fi + VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//') if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then REPO=release @@ -11,3 +17,4 @@ else REPO=beta fi curl -T fping-$VERSION.tar.gz -uschweikert:$BINTRAY_API_KEY https://api.bintray.com/content/schweikert/$REPO/fping/$VERSION/fping-$VERSION.tar.gz +echo "bintray deployment successful." -- 2.43.0