]> git.gsnw.org Git - fping.git/commitdiff
test bintray deployment
authorDavid Schweikert <david@schweikert.ch>
Sun, 2 Mar 2014 21:56:56 +0000 (22:56 +0100)
committerDavid Schweikert <david@schweikert.ch>
Sun, 2 Mar 2014 21:56:56 +0000 (22:56 +0100)
ci/deploy-bintray.sh

index 9a81cef1df62cb38ad106f0130f73065340d97e9..78bef9b4f8dfecea3c2cfeddb3aea89f6ccd5fcb 100755 (executable)
@@ -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