Skip to content

Commit a6acb20

Browse files
committed
Use the correct filename...
1 parent f6b6de9 commit a6acb20

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ rust:
88
before_install:
99
- sudo apt-get update
1010
- sudo apt-get install mingw-w64
11-
- mkdir -p ~/.cargo/ && echo -e "[target.x86_64-pc-windows-gnu]\nlinker = \"/usr/bin/x86_64-w64-mingw32-gcc\"" >> ~/.cargo/config
11+
- mkdir -p ~/.cargo/ && echo -e "[target.x86_64-pc-windows-gnu]\nlinker = \"/usr/bin/x86_64-w64-mingw32-gcc\"" > ~/.cargo/config
1212

1313
script:
14-
- mkdir -p target/x86_64-unknown-linux-musl/release/ && mkdir -p target/x86_64-pc-windows-gnu/release/
1514
- cargo test
1615
- rustup target add x86_64-unknown-linux-musl
1716
- rustup target add x86_64-pc-windows-gnu
1817
- cargo build --release --target=x86_64-unknown-linux-musl
1918
- mv target/x86_64-unknown-linux-musl/release/{cli,geometrify-linux64}
2019
- cargo build --release --target=x86_64-pc-windows-gnu
21-
- mv target/x86_64-pc-windows-gnu/release/{cli,geometrify-win64}
20+
- mv target/x86_64-pc-windows-gnu/release/{cli.exe,geometrify-win64.exe}
2221

2322
deploy:
2423
provider: releases
@@ -27,4 +26,4 @@ deploy:
2726
secure: $apikey
2827
file:
2928
- "target/x86_64-unknown-linux-musl/release/geometrify-linux64"
30-
- "target/x86_64-pc-windows-gnu/release/geometrify-win64"
29+
- "target/x86_64-pc-windows-gnu/release/geometrify-win64.exe"

0 commit comments

Comments
 (0)