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

index bdc9043df930858d9501a43ac2d0ec2626147b4c..861b7957979560f96de965ed0d5ba92de5cf3eac 100755 (executable)
@@ -1,6 +1,7 @@
-#!/bin/sh
+#!/bin/bash
 
 # upload to bintray.com/schweikert
 
-VERSION=3.9-rc1
+make dist
+VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//')
 curl -T fping-$VERSION.tar.gz -uschweikert:$BINTRAY_API_KEY https://api.bintray.com/content/schweikert/generic/fping-rc/$VERSION/fping-$VERSION.tar.gz