From 8aa1ea23c8ae766c95324195f3a87cfb290fbcbc Mon Sep 17 00:00:00 2001 From: David Duque Date: Tue, 21 Apr 2020 14:26:51 +0100 Subject: [PATCH] Use describe --tags when comparing versions --- setup/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/bootstrap.sh b/setup/bootstrap.sh index 51edd61e..d29a461e 100644 --- a/setup/bootstrap.sh +++ b/setup/bootstrap.sh @@ -61,7 +61,7 @@ fi cd $HOME/mailinabox # Update it. -if [ "$TAG" != `git describe` ]; then +if [ "$TAG" != `git describe --tags` ]; then echo Updating Mail-in-a-Box to $TAG . . . git fetch --depth 1 --force --prune origin tag $TAG if ! git checkout -q $TAG; then