From 1e7b3ca84d4774f3f15f0db7b4241e8af6012db5 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Fri, 26 Jul 2019 17:40:07 -0400 Subject: [PATCH] drone: use a pipe for the coverage report --- drone/.drone.jsonnet | 2 +- drone/.drone.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drone/.drone.jsonnet b/drone/.drone.jsonnet index d137fd0e..9834b340 100644 --- a/drone/.drone.jsonnet +++ b/drone/.drone.jsonnet @@ -100,7 +100,7 @@ local build(go_version) = { local coverage_report = { name: 'codecov-report', image: 'golang', - commands: ['bash <(curl -s https://codecov.io/bash)'], + commands: ['curl -s https://codecov.io/bash | bash'], depends_on: ['coverage'], }; diff --git a/drone/.drone.yml b/drone/.drone.yml index bb6fe8ae..02205942 100644 --- a/drone/.drone.yml +++ b/drone/.drone.yml @@ -34,7 +34,7 @@ steps: - name: codecov-report image: golang commands: - - bash <(curl -s https://codecov.io/bash) + - "curl -s https://codecov.io/bash | bash" depends_on: - coverage @@ -149,7 +149,7 @@ steps: - name: codecov-report image: golang commands: - - bash <(curl -s https://codecov.io/bash) + - "curl -s https://codecov.io/bash | bash" depends_on: - coverage @@ -218,7 +218,7 @@ steps: - name: codecov-report image: golang commands: - - bash <(curl -s https://codecov.io/bash) + - "curl -s https://codecov.io/bash | bash" depends_on: - coverage