mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-07-30 17:34:13 +02:00
icinga2/icingaweb2: Update get_snapshot to dump branch into version file
This commit is contained in:
parent
909c1f2e55
commit
6d278514f9
@ -60,4 +60,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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user