summaryrefslogtreecommitdiffstats
path: root/push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'push.sh')
-rwxr-xr-xpush.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/push.sh b/push.sh
index fb63d8332b6..046470a06c2 100755
--- a/push.sh
+++ b/push.sh
@@ -4,8 +4,10 @@ set -e
remote=ceph.newdream.net
vers=$1
+[ -z "$vers" ] && [ -e .last_release ] && vers=`cat .last_release`
[ -z "$vers" ] && echo specify version && exit 1
[ ! -d release/$vers ] && echo release/$vers dne && exit 1
+echo version $vers
shift