Skip to content

Commit

Permalink
ci: strip ripgrep binary on Unix
Browse files Browse the repository at this point in the history
This commit strips the ripgrep binary release artifact produced by CI
for Unix.

Fixes #413
  • Loading branch information
BurntSushi committed Aug 23, 2017
1 parent dbc9164 commit 30ca3ec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30ca3ec

Please sign in to comment.