Commit 028a0ab3 authored by Markus Frosch's avatar Markus Frosch
Browse files

deb: Only use primary tarball

parent 7e762ebd
Pipeline #5528 passed with stage
in 29 seconds
......@@ -56,7 +56,8 @@ set -x
# figure out version
if [ "${ICINGA_BUILD_TYPE}" == "release" ] ; then
tarball=$(ls "${BUILDDIR}/${ICINGA_BUILD_PROJECT}_"*.orig.tar.*)
# TODO: properly ignore non-tarballs (.asc files)
tarball=$(ls "${BUILDDIR}/${ICINGA_BUILD_PROJECT}_"*.orig.tar.* | head -n1)
debian_version="$(dpkg-parsechangelog -l"${BUILDDIR}/${ICINGA_BUILD_PROJECT}/debian/changelog" | grep -E '^Version:' | cut -f 2- -d ' ')"
version="$(echo "$debian_version" | cut -d- -f1)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment