From 571e969bc475bddedffc2c72bb5c3cb2019326c2 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Fri, 29 Nov 2019 06:13:16 +0100 Subject: [PATCH] deploy.sh: Show last tags. --- deploy.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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`