-
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.
Add Raspberry Pi to build process (#3466)
* Add Raspberry Pi to build process * Rename deploy variable to improve readability
- Loading branch information
Showing
2 changed files
with
19 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,14 @@ version="1.2.0" | |
|
||
target_dir="releases/$version" | ||
|
||
vmPath=/Users/christoph/Documents/Workspaces/Java | ||
#vmPath=/Volumes | ||
# Set BISQ_GPG_USER as environment var to the email address used for gpg signing. e.g. [email protected] | ||
# Set BISQ_VM_PATH as environment var to the directory where your shared folders for virtual box are residing | ||
|
||
vmPath=$BISQ_VM_PATH | ||
linux64=$vmPath/vm_shared_ubuntu/desktop/package/linux | ||
win64=$vmPath/vm_shared_windows/desktop/package/windows | ||
|
||
macOS=deploy | ||
|
||
# Set BISQ_GPG_USER as environment var to the email address used for gpg signing. e.g. [email protected] | ||
deployDir=deploy | ||
|
||
rm -r $target_dir | ||
|
||
|
@@ -31,7 +31,7 @@ cp "$target_dir/../../package/signingkey.asc" "$target_dir/" | |
cp "deploy/Bisq-$version.jar.txt" "$target_dir/" | ||
|
||
dmg="Bisq-$version.dmg" | ||
cp "$macOS/$dmg" "$target_dir/" | ||
cp "$deployDir/$dmg" "$target_dir/" | ||
|
||
deb="Bisq-$version.deb" | ||
deb64="Bisq-64bit-$version.deb" | ||
|
@@ -45,19 +45,24 @@ exe="Bisq-$version.exe" | |
exe64="Bisq-64bit-$version.exe" | ||
cp "$win64/$exe" "$target_dir/$exe64" | ||
|
||
rpi="jar-lib-for-raspberry-pi-$version.zip" | ||
cp "$deployDir/$rpi" "$target_dir/" | ||
|
||
cd "$target_dir" | ||
|
||
echo Create signatures | ||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $dmg.asc --detach-sig --armor $dmg | ||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $deb64.asc --detach-sig --armor $deb64 | ||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $rpm64.asc --detach-sig --armor $rpm64 | ||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $exe64.asc --detach-sig --armor $exe64 | ||
gpg --digest-algo SHA256 --local-user $BISQ_GPG_USER --output $rpi.asc --detach-sig --armor $rpi | ||
|
||
echo Verify signatures | ||
gpg --digest-algo SHA256 --verify $dmg{.asc*,} | ||
gpg --digest-algo SHA256 --verify $deb64{.asc*,} | ||
gpg --digest-algo SHA256 --verify $rpm64{.asc*,} | ||
gpg --digest-algo SHA256 --verify $exe64{.asc*,} | ||
gpg --digest-algo SHA256 --verify $rpi{.asc*,} | ||
|
||
mkdir $win64/$version | ||
cp -r . $win64/$version | ||
|