Fix stripping in travis

This commit is contained in:
Julian Ospald 2020-07-13 21:17:01 +02:00
parent f2e26c1800
commit 75cd8f2341
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -20,5 +20,5 @@ ghcup set 8.8.3
cabal update cabal update
cabal build --constraint="zlib static" --constraint="lzma static" -ftui cabal build --constraint="zlib static" --constraint="lzma static" -ftui
cp "$(cabal new-exec --verbose=0 --offline sh -- -c 'command -v ghcup')" . cp "$(cabal new-exec --verbose=0 --offline sh -- -c 'command -v ghcup')" .
strip -s ghcup strip ./ghcup
cp ghcup "./${ARTIFACT}" cp ghcup "./${ARTIFACT}"