Changeset 8025137


Ignore:
Timestamp:
10/16/2021 08:17:33 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.1, lazarus, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
49661ec
Parents:
c99889d9
git-author:
Xi Ruoyao <xry111@…> (10/16/2021 07:20:45 PM)
git-committer:
Xi Ruoyao <xry111@…> (10/16/2021 08:17:33 PM)
Message:

git-version: remove sha unconditionally

Like LFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • git-version.sh

    rc99889d9 r8025137  
    3333
    3434sha="$(git describe --abbrev=1)"
    35 if git describe --all --match trunk > /dev/null 2> /dev/null; then
    36         sha=$(echo "$sha" | sed 's/-g[^-]*$//')
    37 fi
    38 version="$sha"
     35version=$(echo "$sha" | sed 's/-g[^-]*$//')
    3936
    4037if [ "$(git diff HEAD | wc -l)" != "0" ]; then
Note: See TracChangeset for help on using the changeset viewer.