Skip to content

Commit

Permalink
v0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Apr 29, 2016
1 parent 0a0f5a5 commit 89aed23
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 59 deletions.
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion common/src/main/java/io/bitsquare/app/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Version {
private static final Logger log = LoggerFactory.getLogger(Version.class);

// The application versions
public static final String VERSION = "0.4.5";
public static final String VERSION = "0.4.6";

// The version nr. for the objects sent over the network. A change will break the serialization of old objects.
// If objects are used for both network and database the network version is applied.
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>

<artifactId>core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jsocks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jtorctl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jtorproxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion network/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion package/linux/create_32bit_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdir -p gui/deploy
set -e

# Edit versions
fullVersion=0.4.5
fullVersion=0.4.6
jarFile="/home/bitsquare/Desktop/sf_vm_shared_ubuntu14_32bit/Bitsquare-$fullVersion.jar"

# Note: fakeroot needs to be installed on linux
Expand Down
2 changes: 1 addition & 1 deletion package/linux/create_64bit_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdir -p gui/deploy
set -e

# Edit versions
fullVersion=0.4.5
fullVersion=0.4.6
jarFile="/home/mk/Desktop/sf_vm_shared_ubuntu/Bitsquare-$fullVersion.jar"

# Note: fakeroot needs to be installed on linux
Expand Down
2 changes: 1 addition & 1 deletion package/mac/create_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mkdir -p gui/deploy

set -e

fullVersion="0.4.5"
fullVersion="0.4.6"

mvn clean package -DskipTests -Dmaven.javadoc.skip=true

Expand Down
52 changes: 18 additions & 34 deletions package/mac/finalize.sh
Original file line number Diff line number Diff line change
@@ -1,50 +1,34 @@
#!/bin/bash

version="0.4.5"
version="0.4.6"

target_dir="/Users/mk/Documents/__bitsquare/_releases/$version"

cp "/Users/mk/Documents/_intellij/bitsquare/gui/deploy/Bitsquare-$version.dmg" "$target_dir/Bitsquare-$version.dmg"
cp "/Users/mk/Documents/_intellij/bitsquare/gui/deploy/SeedNode-$version.jar" "$target_dir/SeedNode-$version.jar"
mac="Bitsquare-$version.dmg"
cp "/Users/mk/Documents/_intellij/bitsquare/gui/deploy/$mac" "$target_dir/"
cp "/Users/mk/Documents/_intellij/bitsquare/gui/deploy/SeedNode-$version.jar" "$target_dir/"

linux32="Bitsquare-32bit-$version.deb"
cp "/Users/mk/vm_shared_ubuntu14_32bit/$linux32" "$target_dir/$linux32"
deb32="Bitsquare-32bit-$version.deb"
cp "/Users/mk/vm_shared_ubuntu14_32bit/$deb32" "$target_dir/"

linux64="Bitsquare-64bit-$version.deb"
cp "/Users/mk/vm_shared_ubuntu/$linux64" "$target_dir/$linux64"
deb64="Bitsquare-64bit-$version.deb"
cp "/Users/mk/vm_shared_ubuntu/$deb64" "$target_dir/"

exe="Bitsquare.exe"
cp "/Users/mk/vm_shared_windows_32bit/bundles/$exe" "$target_dir/Bitsquare-32bit-$version.exe"
cp "/Users/mk/vm_shared_windows/bundles/$exe" "$target_dir/Bitsquare-64bit-$version.exe"
cp "/Users/mk/vm_shared_windows/bundles/$exe" "/Users/mk/vm_shared_win10/Bitsquare-64bit-$version.exe"
win32="Bitsquare-32bit-$version.exe"
cp "/Users/mk/vm_shared_windows_32bit/bundles/$exe" "$target_dir/$win32"
win64="Bitsquare-64bit-$version.exe"
cp "/Users/mk/vm_shared_windows/bundles/$exe" "$target_dir/$win64"
cp "/Users/mk/vm_shared_windows/bundles/$exe" "/Users/mk/vm_shared_win10/$win64"

cp "hashes.template" "$target_dir/hashes.template"
cd "$target_dir"

MAC="Bitsquare-$version.dmg"
HASH_MAC="$(shasum -a 256 $MAC)"
shasum -a 256 "$mac" "$deb64" "$deb32" "$win64" "$win32" > sha256_hashes.txt

DEB_64="Bitsquare-64bit-$version.deb"
HASH_DEB_64="$(shasum -a 256 $DEB_64)"
gpg --local-user [email protected] --output signed_sha256_hashes.txt --clearsign sha256_hashes.txt

DEB_64="Bitsquare-64bit-$version.deb"
HASH_DEB_64="$(shasum -a 256 $DEB_64)"
gpg --verify signed_sha256_hashes.txt

DEB_32="Bitsquare-32bit-$version.deb"
HASH_DEB_32="$(shasum -a 256 $DEB_32)"
rm "$target_dir/sha256_hashes.txt"

WIN_64="Bitsquare-64bit-$version.exe"
HASH_WIN_64="$(shasum -a 256 $WIN_64)"

WIN_32="Bitsquare-32bit-$version.exe"
HASH_WIN_32="$(shasum -a 256 $WIN_32)"

sed -e "s|HASH_MAC|$HASH_MAC|" -e "s|HASH_DEB_64|$HASH_DEB_64|" -e "s|HASH_DEB_32|$HASH_DEB_32|" -e "s|HASH_WIN_64|$HASH_WIN_64|" -e "s|HASH_WIN_32|$HASH_WIN_32|" hashes.template > hashes.txt

gpg --local-user [email protected] --output signed_sha256_hashes.txt --clearsign hashes.txt
gpg --verify signed_hashes.txt

rm "$target_dir/hashes.template"
rm "$target_dir/hashes.txt"

open "$target_dir"
open "$target_dir"
5 changes: 0 additions & 5 deletions package/mac/hashes.template

This file was deleted.

2 changes: 1 addition & 1 deletion package/windows/Bitsquare.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[Setup]
AppId={{bitsquare}}
AppName=Bitsquare
AppVersion=0.4.5
AppVersion=0.4.6
AppVerName=Bitsquare
AppPublisher=Bitsquare
AppComments=Bitsquare
Expand Down
6 changes: 3 additions & 3 deletions package/windows/create_32bit_app.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cd ..\..\
mkdir gui\deploy

:: edit iss file -> AppVersion=0.4.5
:: edit iss file -> AppVersion=0.4.6

:: Copy gui/deploy.Bitsquare.jar file from mac build to windows
:: edit -> -BappVersion=0.4.5 and -srcfiles
:: edit -> -BappVersion=0.4.6 and -srcfiles

:: 32 bit build
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
call "C:\Program Files\Java\jdk1.8.0_92\bin\javapackager.exe" -deploy -BappVersion=0.4.5 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir "\\VBOXSVR\vm_shared_windows_32bit" -appclass io.bitsquare.app.BitsquareAppMain -srcfiles "\\VBOXSVR\vm_shared_windows_32bit\Bitsquare-0.4.5.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_92\jre" -BjvmProperties=-Djava.net.preferIPv4Stack=true
call "C:\Program Files\Java\jdk1.8.0_92\bin\javapackager.exe" -deploy -BappVersion=0.4.6 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir "\\VBOXSVR\vm_shared_windows_32bit" -appclass io.bitsquare.app.BitsquareAppMain -srcfiles "\\VBOXSVR\vm_shared_windows_32bit\Bitsquare-0.4.6.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_92\jre" -BjvmProperties=-Djava.net.preferIPv4Stack=true

cd package\windows
6 changes: 3 additions & 3 deletions package/windows/create_64bit_app.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cd ..\..\
mkdir gui\deploy

:: edit iss file -> AppVersion=0.4.5
:: edit iss file -> AppVersion=0.4.6

:: Copy gui/deploy.Bitsquare.jar file from mac build to windows
:: edit -> -BappVersion=0.4.5 and -srcfiles
:: edit -> -BappVersion=0.4.6 and -srcfiles

:: 64 bit build
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
call "C:\Program Files\Java\jdk1.8.0_92\bin\javapackager.exe" -deploy -BappVersion=0.4.5 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir "\\VBOXSVR\vm_shared_windows" -appclass io.bitsquare.app.BitsquareAppMain -srcfiles "\\VBOXSVR\vm_shared_windows\Bitsquare-0.4.5.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_92\jre" -BjvmProperties=-Djava.net.preferIPv4Stack=true
call "C:\Program Files\Java\jdk1.8.0_92\bin\javapackager.exe" -deploy -BappVersion=0.4.6 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir "\\VBOXSVR\vm_shared_windows" -appclass io.bitsquare.app.BitsquareAppMain -srcfiles "\\VBOXSVR\vm_shared_windows\Bitsquare-0.4.6.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_92\jre" -BjvmProperties=-Djava.net.preferIPv4Stack=true

cd package\windows
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>io.bitsquare</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>0.4.5</version>
<version>0.4.6</version>
<description>Bitsquare - The decentralized bitcoin exchange</description>
<url>https://bitsquare.io</url>

Expand Down
2 changes: 1 addition & 1 deletion seednode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.4.5</version>
<version>0.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit 89aed23

Please sign in to comment.