Skip to content

Commit

Permalink
.github/workflows/release.yml: simplify xargs opts
Browse files Browse the repository at this point in the history
We can simplify our calls to the "xargs" command by removing the
redundant -L1 option, as this is implied by the -I option when
running on Linux with the GNU version of xargs(1).
  • Loading branch information
chrisd8088 committed Dec 29, 2022
1 parent f5c6138 commit da481bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ jobs:
name: macos-assets
- run: CGO_ENABLED=0 make release
- run: rm -f bin/releases/*windows* bin/releases/*darwin*
- run: 'find windows-assets -name "*windows*" -type f | xargs -L1 -I{} mv {} bin/releases'
- run: 'find macos-assets -name "*darwin*" -type f | xargs -L1 -I{} mv {} bin/releases'
- run: 'find windows-assets -name "*windows*" -type f | xargs -I{} mv {} bin/releases'
- run: 'find macos-assets -name "*darwin*" -type f | xargs -I{} mv {} bin/releases'
- run: script/upload --skip-verify $(git describe)
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit da481bf

Please sign in to comment.