From bd76917cac554d934df3aa385d5f6f8e2d7ba7e2 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Mon, 20 Apr 2020 15:16:20 +0200 Subject: [PATCH] GitlabCI print git information of checked out version --- build_scripts/GitlabCI/gitlabCI.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_scripts/GitlabCI/gitlabCI.Dockerfile b/build_scripts/GitlabCI/gitlabCI.Dockerfile index 87d064de1..aa9c6cc87 100644 --- a/build_scripts/GitlabCI/gitlabCI.Dockerfile +++ b/build_scripts/GitlabCI/gitlabCI.Dockerfile @@ -7,7 +7,8 @@ ARG REPO_BRANCH=master RUN \ cd RetroShare && git remote add testing $REPO_URL && \ git fetch --tags testing $REPO_BRANCH && \ - git reset --hard testing/$REPO_BRANCH + git reset --hard testing/$REPO_BRANCH && \ + git --no-pager log --max-count 1 RUN \ mkdir RetroShare-build && cd RetroShare-build && \ qmake ../RetroShare CONFIG+=no_retroshare_gui \