1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-17 20:28:03 +02:00

ci: strip ripgrep binary on Unix

This commit strips the ripgrep binary release artifact produced by CI
for Unix.

Fixes #413
This commit is contained in:
Andrew Gallant 2017-08-23 18:06:53 -04:00
parent dbc91644fd
commit 30ca3ecca6
No known key found for this signature in database
GPG Key ID: B2E3A4923F8B0D44

View File

@ -18,9 +18,12 @@ mk_tarball() {
mkdir "$td/$name"
mkdir "$td/$name/complete"
cp target/$TARGET/release/rg "$td/$name/"
cp target/$TARGET/release/rg "$td/$name/rg"
strip "$td/$name/rg"
cp {doc/rg.1,README.md,UNLICENSE,COPYING,LICENSE-MIT} "$td/$name/"
cp target/$TARGET/release/build/ripgrep-*/out/{rg.bash-completion,rg.fish,_rg.ps1} "$td/$name/complete/"
cp \
target/$TARGET/release/build/ripgrep-*/out/{rg.bash-completion,rg.fish,_rg.ps1} \
"$td/$name/complete/"
cp complete/_rg "$td/$name/complete/"
pushd $td