diff --git a/deploy.sh b/deploy.sh index ff1290a..d5c9a27 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -x -set -e +#set -e if ! git diff-index --quiet HEAD ; then echo "Git isn't clean. Cant deploy." @@ -16,6 +16,14 @@ if [ "$branch_name" != "master" ]; then exit 1 fi +echo +echo +echo "Last tags:" +vers=`git tag --sort=-version:refname | head -n 5` +while read version; do + echo " $version" +done <<< "$vers" + read -p "Version to generate: " VERSION OTA_VERSION=`grep "VERSION=" bin/update.manifest | cut -d"=" -f2`