|
|
@ -1,10 +1,10 @@
|
|
|
|
#!/bin/bash
|
|
|
|
#!/bin/bash -x -e
|
|
|
|
|
|
|
|
|
|
|
|
# upload to bintray.com/schweikert
|
|
|
|
# upload to bintray.com/schweikert
|
|
|
|
|
|
|
|
|
|
|
|
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$//')
|
|
|
|
if [[ "$VERSION" =~ [0-9]+\.[0-9]+ ]]; then
|
|
|
|
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then
|
|
|
|
REPO=release
|
|
|
|
REPO=release
|
|
|
|
else
|
|
|
|
else
|
|
|
|
REPO=beta
|
|
|
|
REPO=beta
|
|
|
|