[lfs] 03/04: arm64: Reset revision counter

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch xry111/arm64
in repository lfs.

commit 159fc0ab16e64e86c813e8d9afdad0f52e4b4805
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue Apr 15 18:27:10 2025 +0800

    arm64: Reset revision counter
    
    Let's not start from "r12.3-2xx" for this development cycle...
---
 git-version.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-version.sh b/git-version.sh
index 01890e3e5..cce236bb2 100755
--- a/git-version.sh
+++ b/git-version.sh
@@ -51,8 +51,8 @@ esac
 
 full_date="$month $day$suffix, $year"
 
-sha="$(git describe --abbrev=1)"
-rev=arm64-$(echo "$sha" | sed 's/-g[^-]*$//')
+sha="$(git describe --abbrev=1 --match='xry111/arm64-r*')"
+rev=$(echo "$sha" | sed 's/-g[^-]*$//; s|^xry111/||')
 version="$rev"
 versiond="$rev-systemd"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.