Bug #5798
After build I do not get a version number
0%
Description
git clone https://github.com/tvheadend/tvheadend.git
----------------
#!/bin/bash
BASE=$(dirname "$0")
(
if [ -d "$BASE/tvheadend" ]; then
cd "$BASE/tvheadend"
git pull
else
cd "$BASE"
git clone https://github.com/tvheadend/tvheadend.git tvheadend --depth=5
cd "$BASE/tvheadend"
fi
time AUTOBUILD_CONFIGURE_EXTRA="–-disable-bintray_cache --enable-nvenc --disable-hdhomerun_client --disable-hdhomerun_static " ./Autobuild.sh -j$(nproc) # edit only betwin "quotation marks"
) | tee "$BASE/build.log"
make1: Leaving directory '/home/xxx/tvheadend/tvheadend/tvheadend'
dpkg-genbuildinfo --build=binary
dpkg-genchanges --build=binary >../tvheadend_0.0.0-unknown_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build tvheadend
dpkg-buildpackage: info: binary-only upload (no source included)
doozer-versioned-artifact:/home/xxx/tvheadend/tvheadend/tvheadend/../tvheadend_0.0.0-unknown_amd64.deb:deb:application/x-deb:tvheadend_0.0.0-unknown_amd64.deb
doozer-versioned-artifact:/home/xxx/tvheadend/tvheadend/tvheadend/../tvheadend-dbg_0.0.0-unknown_amd64.deb:deb:application/x-deb:tvheadend-dbg_0.0.0-unknown_amd64.deb
doozer-versioned-artifact:/home/xxx/tvheadend/tvheadend/tvheadend/../tvheadend_0.0.0-unknown_amd64.changes:changes:text/plain:tvheadend_0.0.0-unknown_amd64.changes
real 0m34.105s
user 1m9.776s
sys 0m6.036s
History
Updated by saen acro almost 5 years ago
Remove "--depth=5" from script.
Delete tvheadend folder,
and try again with running script.
--depth=5 keep local repo smaller with latest code only /in case latest 5 commits/ but not shure why remove version numbering.