File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ echo "Using temporary directory: $temp_dir"
1919cd " $temp_dir "
2020
2121# Clone directory structure of the most recent commit of one
22- # branch (main ). Don't fetch any regular files.
22+ # branch (gh-pages ). Don't fetch any regular files.
2323mkdir dd-trace-cpp-coverage
2424cd dd-trace-cpp-coverage
2525
2626git init
2727
28- git config user.email " david.goffredo @datadoghq.com"
29- git config user.name " David Goffredo (via script)"
28+ git config user.email " damien.mehala @datadoghq.com"
29+ git config user.name " Damien Mehala (via script)"
3030
3131git remote add origin
' [email protected] :DataDog/dd-trace-cpp-coverage.git' 3232branch=gh-pages
@@ -51,6 +51,15 @@ hex_encode() {
5151
5252cd " $tracer_dir "
5353
54+ # Summary information about the coverage report is encoded in the directory name
55+ # that contains the report.
56+ #
57+ # It's a bit silly, but it has a couple of advantages:
58+ #
59+ # - Concurrent commits are trivial to merge, since they involve git trees only.
60+ # - The UI (browser) script that tabulates the summary information need not
61+ # fetch any actual files: the directory listing is sufficient.
62+
5463commit_time_iso=$( git show -s --format=%cI)
5564commit_hash_short=$( git rev-parse HEAD | head -c 7)
5665commit_branch=$( git branch --show-current)
You can’t perform that action at this time.
0 commit comments