mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-25 01:49:14 -04:00
17 lines
636 B
Bash
17 lines
636 B
Bash
#!/bin/bash
|
|
|
|
cd ../../
|
|
|
|
set -e
|
|
|
|
# Extract the version number. buildVersion is used for ever increasing integer at UpdateFX. fullVersion contains major and minor version + buildVersion
|
|
buildVersion=$( sed -n 's/^.*final int BUILD_VERSION = //p' gui/src/main/java/io/bitsquare/app/gui/UpdateProcess.java )
|
|
# remove trailing;
|
|
buildVersion="${buildVersion:0:${#buildVersion}-1}"
|
|
echo buildVersion = $buildVersion
|
|
|
|
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
|
cp gui/target/shaded.jar gui/updatefx/builds/$buildVersion.jar
|
|
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
|
|
|
cd package/mac |