mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 00:17:54 +08:00
16 lines
449 B
Diff
16 lines
449 B
Diff
diff --git a/version.sh b/version.sh
|
|
index 178fc952..06728796 100755
|
|
--- a/version.sh
|
|
+++ b/version.sh
|
|
@@ -3,8 +3,8 @@
|
|
cd "$(dirname "$0")" >/dev/null && [ -f x264.h ] || exit 1
|
|
|
|
api="$(grep '#define X264_BUILD' < x264.h | sed 's/^.* \([1-9][0-9]*\).*$/\1/')"
|
|
-ver="x"
|
|
-version=""
|
|
+ver="@revision@ @short_ref@"
|
|
+version=" r${ver} vcpkg"
|
|
|
|
if [ -d .git ] && command -v git >/dev/null 2>&1 ; then
|
|
localver="$(($(git rev-list HEAD | wc -l)))"
|