Changeset 7af57d2e


Ignore:
Timestamp:
10/13/2021 11:30:53 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
64ce287
Parents:
3d7b4f6
Message:

git-version: remove -g{sha} unconditionally

File:
1 edited

Legend:

Unmodified
Added
Removed
  • git-version.sh

    r3d7b4f6 r7af57d2e  
    4949
    5050sha="$(git describe --abbrev=1)"
    51 if [ "$(git branch --show-current)" = "trunk" ]; then
    52         sha=$(echo "$sha" | sed 's/-g[^-]*$//')
    53 fi
    54 version="$sha"
    55 versiond="$sha-systemd"
     51rev=$(echo "$sha" | sed 's/-g[^-]*$//')
     52version="$rev"
     53versiond="$rev-systemd"
    5654
    5755if [ "$(git diff HEAD | wc -l)" != "0" ]; then
Note: See TracChangeset for help on using the changeset viewer.