Skip to content

Commit

Permalink
[semver:patch] fix: xtra_args and file not being parsed properly
Browse files Browse the repository at this point in the history
[semver:patch] fix: xtra_args and file not being parsed properly
  • Loading branch information
thomasrockhu-codecov committed Oct 4, 2021
2 parents 7643d31 + 13af469 commit 6099f8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.1.1
**Fixes**
- #111 fix: xtra_args and file not being parsed properly

## 3.1.0
**Features**
- #108 feat: Allow specifying version of Codecov uploader
Expand Down
4 changes: 2 additions & 2 deletions src/@orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ commands:
command: |
chmod +x $filename
args=()
[[ -n "<< parameters.file >>" ]] && args+=( '-f << parameters.file >>' )
[[ -n "<< parameters.xtra_args >>" ]] && args+=( '<< parameters.xtra_args >>' )
[[ -n "<< parameters.file >>" ]] && args+=( "-f << parameters.file >>" )
[[ -n "<< parameters.xtra_args >>" ]] && args+=( "<< parameters.xtra_args >>" )
curl -H "Accept: application/json" "https://uploader.codecov.io/${os}/<< parameters.version >>" | grep -o '\"version\":\"v[0-9\.\_]\+\"' | head -1
./$filename \
-Q "codecov-circleci-orb-3.1.0" \
Expand Down

0 comments on commit 6099f8d

Please sign in to comment.