[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection.
From: |
Denis 'GNUtoo' Carikli |
Subject: |
[PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection. |
Date: |
Fri, 19 Apr 2024 19:06:24 +0200 |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.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
- Guix integration and various other patches., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 01/14] site: status: Add upstream software versions., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 02/14] docs/install: replace Libreboot with GNUBoot, Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 06/14] scripts: misc: guix.sh: fix forgetten tab., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection.,
Denis 'GNUtoo' Carikli <=
- [PATCH v1 04/14] build instructions: Mention exact package names for debootstrap., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 05/14] build instructions: debootstrap: Add Guix., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 09/14] scripts: misc: guix.sh: prevent OOM., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 03/14] docs/install: Don't officially support T60 with ATI GPUs., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 08/14] scripts: misc: guix.sh: make it pass shellcheck., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 11/14] gitignore: don't ignore .scm files., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 10/14] gitignore: sort rules., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 13/14] Makefile.am: Document commands from site/docs/build/index.md., Denis 'GNUtoo' Carikli, 2024/04/19
- [PATCH v1 14/14] Build bucts and patched flashrom for I945 ThinkPads with Guix., Denis 'GNUtoo' Carikli, 2024/04/19