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 Jan 4, 2023
1 parent 3a484ee commit ba2fae4
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 @@ -121,8 +121,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 ba2fae4

Please sign in to comment.