Skip to content
Snippets Groups Projects
Commit 028a0ab3 authored by Markus Frosch's avatar Markus Frosch
Browse files

deb: Only use primary tarball

parent 7e762ebd
No related branches found
No related tags found
No related merge requests found
Pipeline #5528 passed
......@@ -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)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment