|
|
@ -4,4 +4,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
make dist
|
|
|
|
make dist
|
|
|
|
VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//')
|
|
|
|
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
|
|
|
|
if [[ "$VERSION" =~ [0-9]+\.[0-9]+ ]]; then
|
|
|
|
|
|
|
|
REPO=release
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
REPO=beta
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
curl -T fping-$VERSION.tar.gz -uschweikert:$BINTRAY_API_KEY https://api.bintray.com/content/schweikert/$RELEASE/fping/$VERSION/fping-$VERSION.tar.gz
|
|
|
|