-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a0f5a5
commit 89aed23
Showing
18 changed files
with
38 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters