From 47f9efd601d7b5db44688c8978c1f7281dfa09f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Fri, 1 Oct 2021 00:01:40 +0100 Subject: [PATCH] use 8 character for git hash (as gitlab do) --- x264-snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x264-snapshot.sh b/x264-snapshot.sh index 63826d1..3a34692 100755 --- a/x264-snapshot.sh +++ b/x264-snapshot.sh @@ -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