Browse Source

Explicitly pass the sha to codecov

In case of merge commit, the sha passed to the codecov tool
is the one of the merged commit intstead of the merge commit
this creates error because the base commit is always different.
Passing it explicitely should fix it

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Flavio Crisciani 7 years ago
parent
commit
da1e931693
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libnetwork/circle.yml

+ 1 - 1
libnetwork/circle.yml

@@ -13,4 +13,4 @@ test:
   override:
   override:
     - make circle-ci
     - make circle-ci
   post:
   post:
-    - bash <(curl -s https://codecov.io/bash)
+    - bash <(curl -s https://codecov.io/bash) -C "$(git log --format="%H" -n 1)"