[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection.
From: |
Adrien 'neox' Bourmault |
Subject: |
Re: [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection. |
Date: |
Wed, 01 May 2024 17:11:45 +0200 |
User-agent: |
Evolution 3.48.4 |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
---
resources/scripts/misc/guix.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/resources/scripts/misc/guix.sh b/resources/scripts/misc/guix.sh
index 43f83f3..d8aad1f 100755
--- a/resources/scripts/misc/guix.sh
+++ b/resources/scripts/misc/guix.sh
@@ -271,10 +271,11 @@ is_latest_release()
return ${true}
elif [ -n "$(echo ${revision} | grep '\.')" ] ; then
return ${false}
- else
- git --no-pager -C "$(guix_checkout)" tag --merged "${revision}" | \
- grep "^v${guix_latest_release}$" > /dev/null
+ elif git --no-pager -C "$(guix_checkout)" tag --merged "${revision}" | \
+ grep "^v${guix_latest_release}$" > /dev/null ; then
return ${true}
+ else
+ return ${false}
fi
}
--
2.41.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection.,
Adrien 'neox' Bourmault <=