Changeset 746175a for git-version.sh
- Timestamp:
- 03/02/2024 09:23:14 AM (7 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.2
- Children:
- 4203c70
- Parents:
- 0a18eb6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
git-version.sh
r0a18eb6 r746175a 52 52 full_date="$month $day$suffix, $year" 53 53 54 sha="$(git describe --abbrev=1 )"55 rev= loongarch-$(echo "$sha" | sed 's/-g[^-]*$//')54 sha="$(git describe --abbrev=1 --match='xry111/loongarch-r*')" 55 rev=$(echo "$sha" | sed 's/-g[^-]*$//; s|^xry111/||') 56 56 version="$rev" 57 57 versiond="$rev-systemd"
Note:
See TracChangeset
for help on using the changeset viewer.