File scripts/mxe-deploy changed (mode: 100755) (index 0cac59251..ea9aad1c5) |
... |
... |
if [ $# -ne 1 ]; then |
20 |
20 |
fi |
fi |
21 |
21 |
|
|
22 |
22 |
version="$1" |
version="$1" |
|
23 |
|
case "$version" in |
|
24 |
|
[0-9].[0-9][0-9].[0-9]-beta);; |
|
25 |
|
[0-9].[0-9][0-9]-beta);; |
|
26 |
|
[0-9].[0-9]-beta);; |
|
27 |
|
[0-9].[0-9][0-9].[0-9]);; |
|
28 |
|
[0-9].[0-9][0-9]);; |
|
29 |
|
[0-9].[0-9]);; |
|
30 |
|
*) |
|
31 |
|
echo "ERROR: unrecognized version format: $version" |
|
32 |
|
exit 1 |
|
33 |
|
esac |
23 |
34 |
|
|
24 |
35 |
REMOTE_NAME="${REMOTE_NAME:-win}" |
REMOTE_NAME="${REMOTE_NAME:-win}" |
25 |
36 |
REMOTE_DIR="${REMOTE_DIR:-/c/repos/vifm}" |
REMOTE_DIR="${REMOTE_DIR:-/c/repos/vifm}" |
|
... |
... |
set -e |
33 |
44 |
|
|
34 |
45 |
echo ::: BUILDING... ::: |
echo ::: BUILDING... ::: |
35 |
46 |
|
|
36 |
|
( cd "$W32_DIR" && "$W32_BUILD_SCR" "$version" ) |
|
37 |
|
( cd "$W64_DIR" && "$W64_BUILD_SCR" "$version" ) |
|
|
47 |
|
tag="v$version" |
|
48 |
|
( cd "$W32_DIR" && "$W32_BUILD_SCR" "$tag" ) |
|
49 |
|
( cd "$W64_DIR" && "$W64_BUILD_SCR" "$tag" ) |
38 |
50 |
|
|
39 |
51 |
echo ::: CLEANING UP REMOTE DIRECTORIES... ::: |
echo ::: CLEANING UP REMOTE DIRECTORIES... ::: |
40 |
52 |
|
|