Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

ci: fix push script #9679

Merged
merged 2 commits into from
Oct 1, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/gitlab/build-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ mkdir -p artifacts
cd artifacts
mkdir -p $CARGO_TARGET
cd $CARGO_TARGET
cp ../../target/$CARGO_TARGET/release/{parity,parity-evm,ethstore,ethkey,whisper} .
cp ../../target/$CARGO_TARGET/release/parity ./parity
cp ../../target/$CARGO_TARGET/release/parity-evm ./parity-evm
cp ../../target/$CARGO_TARGET/release/ethstore ./ethstore
cp ../../target/$CARGO_TARGET/release/ethkey ./ethkey
cp ../../target/$CARGO_TARGET/release/whisper ./whisper
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should fix random paths on ARM build (I guess there is some crazy version of cp out there)

strip -v ./*
echo "_____ Calculating checksums _____"
for binary in $(ls)
Expand Down
2 changes: 1 addition & 1 deletion scripts/gitlab/build-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ echo "_____ Calculating checksums _____"
for binary in $(ls)
do
rhash --sha256 $binary -o $binary.sha256
parity.exe tools hash $binary > $binary.sha3
./parity.exe tools hash $binary > $binary.sha3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parity.exe is for sure in the correct directory, but I guess it has to be invoked in a unix-like fashion

done
cp parity.exe.sha256 parity.sha256
cp parity.exe.sha3 parity.sha3