|
|
@ -22,7 +22,7 @@ git remote set-url origin "$REPO";
|
|
|
|
git fetch --recurse-submodules --tags > /dev/null;
|
|
|
|
git fetch --recurse-submodules --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 [ -z "$GPG_FINGERPRINT" ] || (git verify-tag --raw "$TAG" 2>&1 | grep --fixed-strings " VALIDSIG $GPG_FINGERPRINT ") > /dev/null; then
|
|
|
|
if [ -z "$GPG_FINGERPRINT" ] || (git verify-tag --raw "$TAG" 2>&1 | grep --fixed-strings " VALIDSIG $GPG_FINGERPRINT ") > /dev/null; then
|
|
|
|
git reset --hard --recurse-submodules;
|
|
|
|
git reset --quiet --hard --recurse-submodules;
|
|
|
|
git checkout --quiet --recurse-submodules "$TAG";
|
|
|
|
git checkout --quiet --recurse-submodules "$TAG";
|
|
|
|
chown --recursive "$DEST_USER:$DEST_GROUP" .;
|
|
|
|
chown --recursive "$DEST_USER:$DEST_GROUP" .;
|
|
|
|
if ! sh -c {{ reload_command | default('true') | quote }}; then
|
|
|
|
if ! sh -c {{ reload_command | default('true') | quote }}; then
|
|
|
|