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 năm trước cách đây
mục cha
commit
da1e931693
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libnetwork/circle.yml

+ 1 - 1
libnetwork/circle.yml

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