Skip to content

Commit 6099f8d

Browse files
[semver:patch] fix: xtra_args and file not being parsed properly
[semver:patch] fix: xtra_args and file not being parsed properly
2 parents 7643d31 + 13af469 commit 6099f8d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.1.1
2+
**Fixes**
3+
- #111 fix: xtra_args and file not being parsed properly
4+
15
## 3.1.0
26
**Features**
37
- #108 feat: Allow specifying version of Codecov uploader

src/@orb.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ commands:
7474
command: |
7575
chmod +x $filename
7676
args=()
77-
[[ -n "<< parameters.file >>" ]] && args+=( '-f << parameters.file >>' )
78-
[[ -n "<< parameters.xtra_args >>" ]] && args+=( '<< parameters.xtra_args >>' )
77+
[[ -n "<< parameters.file >>" ]] && args+=( "-f << parameters.file >>" )
78+
[[ -n "<< parameters.xtra_args >>" ]] && args+=( "<< parameters.xtra_args >>" )
7979
curl -H "Accept: application/json" "https://uploader.codecov.io/${os}/<< parameters.version >>" | grep -o '\"version\":\"v[0-9\.\_]\+\"' | head -1
8080
./$filename \
8181
-Q "codecov-circleci-orb-3.1.0" \

0 commit comments

Comments
 (0)