Changeset 8025137


Ignore:
Timestamp:
10/16/2021 08:17:33 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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.