Skip to content

Commit 0e434e6

Browse files
committed
chore(): fix windows archiving
ct.exe instead of ct
1 parent 4815dd8 commit 0e434e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/before_deploy.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ main() {
2121
cross rustc --bin ct --target $TARGET --release -- -C lto
2222

2323
# TODO Update this to package the right artifacts
24-
cp target/$TARGET/release/ct $stage/
24+
if [ -f target/$TARGET/release/ct.exe ]; then
25+
cp target/$TARGET/release/ct.exe $stage/
26+
else
27+
cp target/$TARGET/release/ct $stage/
28+
fi
2529

2630
cd $stage
2731
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *

0 commit comments

Comments
 (0)