Skip to content

Commit

Permalink
add missing fzf binary to release
Browse files Browse the repository at this point in the history
  • Loading branch information
phiresky committed Jan 16, 2024
1 parent f244b2d commit d84604f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ jobs:
- name: Strip release binary (linux and macos)
if: matrix.build == 'linux' || matrix.build == 'macos'
run: |
strip "target/${{ matrix.target }}/release/rga" "target/${{ matrix.target }}/release/rga-preproc"
strip "target/${{ matrix.target }}/release/rga" \
"target/${{ matrix.target }}/release/rga-preproc" \
"target/${{ matrix.target }}/release/rga-fzf"
- name: Strip release binary (arm)
if: matrix.build == 'linux-arm'
Expand All @@ -168,7 +170,8 @@ jobs:
rustembedded/cross:arm-unknown-linux-gnueabihf \
arm-linux-gnueabihf-strip \
/target/arm-unknown-linux-gnueabihf/release/rga \
/target/arm-unknown-linux-gnueabihf/release/rga-preproc
/target/arm-unknown-linux-gnueabihf/release/rga-preproc \
/target/arm-unknown-linux-gnueabihf/release/rga-fzf
- name: Build archive
shell: bash
Expand All @@ -182,11 +185,13 @@ jobs:
if [ "${{ matrix.os }}" = "windows-2019" ]; then
cp "target/${{ matrix.target }}/release/rga.exe" "$staging/"
cp "target/${{ matrix.target }}/release/rga-preproc.exe" "$staging/"
cp "target/${{ matrix.target }}/release/rga-fzf.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
else
cp "target/${{ matrix.target }}/release/rga" "$staging/"
cp "target/${{ matrix.target }}/release/rga-preproc" "$staging/"
cp "target/${{ matrix.target }}/release/rga-fzf" "$staging/"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit d84604f

Please sign in to comment.