icinga2/icingaweb2: Update get_snapshot to dump branch into version file

This commit is contained in:
Markus Frosch 2017-02-08 16:56:50 +01:00
parent 41df966396
commit 56ee8a6e6c
1 changed files with 1 additions and 1 deletions

View File

@ -66,4 +66,4 @@ gzip -vf9 "${tarball}"
sha256sum "${tarball}.gz"
# store package version for build scripts
echo -e "${package_version}\t$(git rev-parse HEAD)\t$(basename "${tarball}.gz")" > "${workdir}/${PROJECT}.version"
echo -e "${package_version}\t$(git rev-parse HEAD)\t$(basename "${tarball}.gz")\t${UPSTREAM_GIT_BRANCH}" > "${workdir}/${PROJECT}.version"