Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate RPM package #2200

Merged
merged 6 commits into from Jan 14, 2019
Merged
4 changes: 2 additions & 2 deletions desktop/package/linux/package.sh
Expand Up @@ -8,7 +8,6 @@

version=0.9.1-SNAPSHOT
version_base=$(echo $version | awk -F'[_-]' '{print $1}')
JAVA_HOME=/usr/lib/jvm/jdk-10.0.2
base_dir=$( cd "$(dirname "$0")" ; pwd -P )/../../..
src_dir=$base_dir/desktop/package

Expand Down Expand Up @@ -72,6 +71,7 @@ fi

chmod o+rx "$src_dir/desktop-$version-all.jar"

# Remove previously generated packages so we can later determine if they are actually generated successfully
if [ -f "$base_dir/desktop/package/linux/bisq-$version.deb" ]; then
rm "$base_dir/desktop/package/linux/bisq-$version.deb"
fi
Expand Down Expand Up @@ -121,7 +121,7 @@ $JAVA_HOME/bin/javapackager \
-title "The decentralized exchange network." \
-vendor Bisq \
-outdir $base_dir/desktop/package/linux \
-srcdir $base_dir/desktop/package \
-srcdir $src_dir \
-srcfiles desktop-$version-all.jar \
-appclass bisq.desktop.app.BisqAppMain \
-BjvmOptions=-Xss1280k \
Expand Down