This repository was archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Remove windows tray and installer #8778
Merged
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
2c7118e
Remove windows tray and installer
ascjones 84a0a58
Remove make_exe (installer) target
ascjones 9dc76fa
Change windows $ARC to amd64 for consistency
ascjones ec94fa0
Fix windows build - revert to winapi 0.2.8
ascjones 5079918
Remove publishing of windows installer bins
ascjones File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 was deleted.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
|
@@ -44,7 +44,6 @@ set_env_win () { | |
set RUST_BACKTRACE=1 | ||
#export RUSTFLAGS=$RUSTFLAGS | ||
rustup default stable-x86_64-pc-windows-msvc | ||
echo "MsBuild.exe windows\ptray\ptray.vcxproj /p:Platform=x64 /p:Configuration=Release" > msbuild.cmd | ||
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd | ||
} | ||
build () { | ||
|
@@ -166,19 +165,6 @@ make_pkg () { | |
sign_exe () { | ||
./sign.cmd $keyfile $certpass "target/$PLATFORM/release/parity.exe" | ||
} | ||
make_exe () { | ||
./msbuild.cmd | ||
./sign.cmd $keyfile $certpass windows/ptray/x64/release/ptray.exe | ||
cd nsis | ||
curl -sL --url "https://github.com/paritytech/win-build/raw/master/vc_redist.x64.exe" -o vc_redist.x64.exe | ||
echo "makensis.exe installer.nsi" > nsis.cmd | ||
./nsis.cmd | ||
cd .. | ||
cp nsis/installer.exe "parity_"$VER"_"$IDENT"_"$ARC"."$EXT | ||
./sign.cmd $keyfile $certpass "parity_"$VER"_"$IDENT"_"$ARC"."$EXT | ||
$MD5_BIN "parity_"$VER"_"$IDENT"_"$ARC"."$EXT -p %h > "parity_"$VER"_"$IDENT"_"$ARC"."$EXT".md5" | ||
$SHA256_BIN "parity_"$VER"_"$IDENT"_"$ARC"."$EXT -p %h > "parity_"$VER"_"$IDENT"_"$ARC"."$EXT".sha256" | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AFAICT this is just installer/tray stuff so can be removed entirely. |
||
push_binaries () { | ||
echo "Push binaries to AWS S3" | ||
aws configure set aws_access_key_id $s3_key | ||
|
@@ -356,7 +342,6 @@ case $BUILD_PLATFORM in | |
build | ||
sign_exe | ||
calculate_checksums | ||
make_exe | ||
make_archive | ||
push_binaries | ||
updater_push_release | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what (if anything) should be for the $ARC param instead of installer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ARC is just a string that goes into the binary name. I'm pretty sure it's unused after this PR, however, for consistency reasons, could you change it to
amd64
?