use 8 character for git hash (as gitlab do)

el9
Sérgio M. Basto 3 years ago
parent 658c25659d
commit 47f9efd601

@ -20,7 +20,7 @@ pushd "$tmp"
git clone https://code.videolan.org/videolan/x264.git -b ${branch}
cd ${package}
tag=$(git rev-list HEAD -n 1 | cut -c 1-7)
tag=$(git rev-list HEAD -n 1 | cut -c 1-8)
git checkout ${commit}
git checkout -b rpmfusion
./version.sh > version.h

Loading…
Cancel
Save