Include date in version string

Closes #87
This commit is contained in:
BtbN 2021-06-26 15:03:11 +02:00
parent 5e3d93dd92
commit 54877f1db8

View file

@ -62,7 +62,10 @@ cat <<EOF >"$BUILD_SCRIPT"
cd ffmpeg cd ffmpeg
git checkout $GIT_BRANCH git checkout $GIT_BRANCH
./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$FFBUILD_TARGET_FLAGS $FF_CONFIGURE --extra-cflags='$FF_CFLAGS' --extra-cxxflags='$FF_CXXFLAGS' --extra-ldflags='$FF_LDFLAGS' --extra-ldexeflags='$FF_LDEXEFLAGS' --extra-libs='$FF_LIBS' ./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$FFBUILD_TARGET_FLAGS $FF_CONFIGURE \
--extra-cflags='$FF_CFLAGS' --extra-cxxflags='$FF_CXXFLAGS' \
--extra-ldflags='$FF_LDFLAGS' --extra-ldexeflags='$FF_LDEXEFLAGS' --extra-libs='$FF_LIBS' \
--extra-version="\$(date +%Y%m%d)"
make -j\$(nproc) V=1 make -j\$(nproc) V=1
make install install-doc make install install-doc
EOF EOF