-
Notifications
You must be signed in to change notification settings - Fork 344
/
move_built.sh
executable file
·15 lines (15 loc) · 1.07 KB
/
move_built.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
VERSION=$(git describe --always)
echo $VERSION
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-linux-android/release/geph4-client ./OUTPUT/$VERSION/geph4-client-android-amd64
mv ./target/i686-linux-android/release/geph4-client ./OUTPUT/$VERSION/geph4-client-android-i386
mv ./target/i686-pc-windows-msvc/release/geph4-client.exe ./OUTPUT/$VERSION/geph4-client-windows-i386.exe
mv ./target/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