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