mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-25 07:27:18 +01:00
17 lines
No EOL
636 B
Bash
17 lines
No EOL
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 |