You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
set -e -u;
|
|
|
|
if [ $# -eq 1 ]; then
|
|
cd "$1";
|
|
fi
|
|
|
|
PREFIX=release;
|
|
|
|
git pull --tags;
|
|
TAG=$(git tag --list | grep "^$PREFIX-" | sort -r | head -n 1);
|
|
if git verify-tag "$TAG" | grep "TRUST_ULTIMATE" 2>&1 > /dev/null; then
|
|
git checkout "$TAG";
|
|
./configure.sh;
|
|
else
|
|
exit 1;
|
|
fi
|