forked from geph-official/geph4-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmove_built.sh
More file actions
executable file
·12 lines (12 loc) · 900 Bytes
/
move_built.sh
File metadata and controls
executable file
·12 lines (12 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
VERSION=$(git describe)
mkdir -p ./OUTPUT/$VERSION/
mv ./target/x86_64-unknown-linux-musl/release/geph4-client ./OUTPUT/$VERSION/geph4-client-linux-amd64
mv ./target/x86_64-unknown-linux-gnu/release/geph4-vpn-helper ./OUTPUT/$VERSION/geph4-vpn-helper-linux-amd64
mv ./target/armv7-unknown-linux-musleabihf/release/geph4-client ./OUTPUT/$VERSION/geph4-client-linux-armv7
mv ./target/armv7-linux-androideabi/release/geph4-client ./OUTPUT/$VERSION/geph4-client-android-armv7
mv ./target/aarch64-linux-android/release/geph4-client ./OUTPUT/$VERSION/geph4-client-android-aarch64
mv ./target/x86_64-pc-windows-gnu/release/geph4-client.exe ./OUTPUT/$VERSION/geph4-client-windows-amd64.exe
mv ./target/i686-pc-windows-gnu/release/geph4-client.exe ./OUTPUT/$VERSION/geph4-client-windows-i386.exe
mv ./target/x86_64-apple-darwin/release/geph4-client ./OUTPUT/$VERSION/geph4-client-macos-amd64
exit 0