Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
World
OpenPaperwork
paperwork
Commits
b85a317b
Commit
b85a317b
authored
Oct 04, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci/download_data.sh
View file @
b85a317b
...
...
@@ -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
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment