Added update.sh
parent
1ac506b8f2
commit
9fa7bda97d
@ -0,0 +1,18 @@
|
||||
#!/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
|
Loading…
Reference in New Issue