Skip to content

Commit 40bbb03

Browse files
committed
Update dist-{linux,windows}.sh to use Gradle
1 parent 746367c commit 40bbb03

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

dist-linux.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
#!/bin/sh
22

3-
REVISION=`head -n 1 changelog.txt | cut -f 1 -d " "`
4-
5-
rm -rf dist
6-
ant clean
7-
ant -Dreplicatorg.version=$REVISION dist-linux
8-
#ant -Dreplicatorg.version=$REVISION dist-linux64
3+
./gradlew clean
4+
./gradlew dist-linux

dist-windows.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/bin/sh
22

3-
REVISION=`head -n 1 changelog.txt | cut -f 1 -d " "`
4-
5-
rm -rf dist
6-
ant clean
7-
ant -Dreplicatorg.version=$REVISION dist-windows
3+
./gradlew clean
4+
./gradlew dist-windows

0 commit comments

Comments
 (0)