summaryrefslogtreecommitdiff
path: root/bin/cleanbuild-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cleanbuild-docker.sh')
-rwxr-xr-xbin/cleanbuild-docker.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/cleanbuild-docker.sh b/bin/cleanbuild-docker.sh
index 1f2b075..8aa1482 100755
--- a/bin/cleanbuild-docker.sh
+++ b/bin/cleanbuild-docker.sh
@@ -96,8 +96,10 @@ package_prepare() {
docker exec --user=root -w / $name setfacl -m u:builder:--- /etc/resolv.conf
fi
- git_tag=$(GIT_DIR=$topdir/packages/$PACKAGE_NAME/.git git describe --tags --always)
+ notice "Find latest tag on the branch"
+ git_tag=$(docker exec -e GIT_DIR=$home/rpm/packages/$PACKAGE_NAME/.git $name git describe --tags --always)
buildlog=rpm/logs/${git_tag#auto/*/}.log
+ notice "Build log: $buildlog"
}
package_build() {