diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e01f8a50..fc84045b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,7 +127,6 @@ jobs: if: matrix.os == 'windows-latest' run: | cd target/${{ matrix.target }}/release - strip starship.exe 7z a ../../../${{ matrix.name }} starship.exe cd - @@ -135,8 +134,6 @@ jobs: if: matrix.os != 'windows-latest' run: | cd target/${{ matrix.target }}/release - # TODO: investigate better cross platform stripping - strip starship || true tar czvf ../../../${{ matrix.name }} starship cd - diff --git a/Cargo.toml b/Cargo.toml index 4a8b352c..3ab36a58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,6 +121,7 @@ tempfile = "3.2.0" [profile.release] codegen-units = 1 lto = true +strip = true [[bin]] name = "starship"