loongarch: Reset revision counter

Let's not start from "r12.1-2xx" for this development cycle...
This commit is contained in:
Xi Ruoyao 2024-03-02 17:23:14 +08:00
parent 0a18eb6c6a
commit 746175acd3
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -51,8 +51,8 @@ esac
full_date="$month $day$suffix, $year" full_date="$month $day$suffix, $year"
sha="$(git describe --abbrev=1)" sha="$(git describe --abbrev=1 --match='xry111/loongarch-r*')"
rev=loongarch-$(echo "$sha" | sed 's/-g[^-]*$//') rev=$(echo "$sha" | sed 's/-g[^-]*$//; s|^xry111/||')
version="$rev" version="$rev"
versiond="$rev-systemd" versiond="$rev-systemd"