Amend --always option to all git describe commands (#2275)

This commit is contained in:
Michael Heuberger
2023-09-02 06:59:39 -04:00
committed by GitHub
parent 674ce92e92
commit 81866de229
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ fi
cd $HOME/mailinabox
# Update it.
if [ "$TAG" != $(git describe) ]; then
if [ "$TAG" != $(git describe --always) ]; then
echo Updating Mail-in-a-Box to $TAG . . .
git fetch --depth 1 --force --prune origin tag $TAG
if ! git checkout -q $TAG; then
+1 -1
View File
@@ -207,6 +207,6 @@ if [ "$PRIVATE_IPV6" != "$PUBLIC_IPV6" ]; then
echo "Private IPv6 Address: $PRIVATE_IPV6"
fi
if [ -f /usr/bin/git ] && [ -d .git ]; then
echo "Mail-in-a-Box Version: " $(git describe)
echo "Mail-in-a-Box Version: " $(git describe --always)
fi
echo