fix: strip command in release workflow always return

This commit is contained in:
Bart van der Braak 2024-01-23 00:53:04 +01:00
parent 78bfcfa3e6
commit 0b685a051a

View file

@ -123,7 +123,7 @@ jobs:
ext=""
[[ "${{ matrix.name }}" == windows-* ]] && ext=".exe"
bin="target/${{ matrix.target }}/release/keyweave${ext}"
[[ "${{ matrix.name }}" != windows-* ]] && strip "$bin"
strip "$bin" || true
dst="keyweave-${{ matrix.target }}"
mkdir -p "$dst" dist
cp "$bin" "$dst/"