update.sh: Fixed pull on tag

master
Felix Stupp 6 years ago
parent 113e28cb29
commit 6eb274e5e4
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -9,7 +9,7 @@ fi
PREFIX=release; PREFIX=release;
CONF_SCRIPT="configure.sh"; CONF_SCRIPT="configure.sh";
git pull --tags > /dev/null; git fetch --tags > /dev/null;
TAG=$(git tag --list | grep "^$PREFIX-" | sort -r | head -n 1); TAG=$(git tag --list | grep "^$PREFIX-" | sort -r | head -n 1);
if git verify-tag --raw "$TAG" 2>&1 | grep "TRUST_ULTIMATE" > /dev/null; then if git verify-tag --raw "$TAG" 2>&1 | grep "TRUST_ULTIMATE" > /dev/null; then
git checkout -q "$TAG"; git checkout -q "$TAG";

Loading…
Cancel
Save