Commit b85a317b authored by Jerome Flesch's avatar Jerome Flesch
Browse files

ci/download_data.sh: add trace

(to figure out why the branch is wrong in the Windows build)
parent d61c37d3
Pipeline #218697 failed with stages
in 12 minutes and 48 seconds
......@@ -2,10 +2,12 @@
WGET_OPTS="-q"
branch=$(git symbolic-ref -q HEAD 2>/dev/null)
branch=$(git symbolic-ref -q HEAD)
echo "Current ref: ${branch}"
branch=${branch##refs/heads/}
branch=${branch:-master}
commit="$(git rev-parse --short HEAD 2>/dev/null)"
commit="$(git rev-parse --short HEAD)"
echo "Current branch: ${branch}"
echo "Current commit: ${commit}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment