File tree Expand file tree Collapse file tree 3 files changed +587
-4
lines changed Expand file tree Collapse file tree 3 files changed +587
-4
lines changed Original file line number Diff line number Diff line change 2
2
cd $( dirname " ${BASH_SOURCE[0]} " )
3
3
OD=" $( pwd) "
4
4
# Pushes application version into the build information.
5
- ACRON_VERSION=1.0 .0
5
+ ACRON_VERSION=1.1 .0
6
6
7
7
build (){
8
8
echo Packaging $1 Build
9
9
bdir=acron-${ACRON_VERSION} -$2 -$3
10
10
rm -rf builds/$bdir && mkdir -p builds/$bdir
11
- GOOS=$2 GOARCH=$3 ./build.sh
12
11
13
- mv acron builds/$bdir
12
+ cd build
13
+ docker-compose run builder ./build/build_platform.sh $2 /$3
14
+ cd ..
15
+
16
+ mv build/acron-$2 -$3 build/acron
17
+ mv build/acron builds/$bdir
14
18
15
19
cp README.md builds/$bdir
16
20
cp LICENSE builds/$bdir
@@ -30,7 +34,6 @@ if [ "$1" == "all" ]; then
30
34
rm -rf builds/
31
35
build " Mac" " darwin" " amd64"
32
36
build " Linux" " linux" " amd64"
33
- build " FreeBSD" " freebsd" " amd64"
34
37
exit
35
38
fi
36
39
You can’t perform that action at this time.
0 commit comments