From: David Schweikert Date: Sun, 2 Mar 2014 21:56:56 +0000 (+0100) Subject: test bintray deployment X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd768a44f880960269f681dfd66e2f8d4d25f37c;p=fping.git test bintray deployment --- diff --git a/ci/deploy-bintray.sh b/ci/deploy-bintray.sh index 9a81cef..78bef9b 100755 --- a/ci/deploy-bintray.sh +++ b/ci/deploy-bintray.sh @@ -1,10 +1,10 @@ -#!/bin/bash +#!/bin/bash -x -e # upload to bintray.com/schweikert make dist VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//') -if [[ "$VERSION" =~ [0-9]+\.[0-9]+ ]]; then +if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then REPO=release else REPO=beta