Skip to content

Commit fef3e2c

Browse files
committed
make+scripts: move binary strip before creating archive
this was needed since on windows we don't need to strip the binary
1 parent 25b0eeb commit fef3e2c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ integration-tests: build-docker
1818

1919
release:
2020
cargo build --release
21-
strip target/release/dra
2221

2322
format:
2423
cargo fmt --all

scripts/create-release-archive.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ mkdir -p "$output"
5252
if [[ "$os" == "$WINDOWS" ]]; then
5353
cp target/release/dra.exe "$output"
5454
else
55+
strip target/release/dra
5556
cp target/release/dra "$output"
5657
fi
5758
cp README.md "$output"

0 commit comments

Comments
 (0)