scripts: restore archives used in gitlab artifacts
This commit is contained in:
parent
1863609c2a
commit
7701cfcf4f
@ -112,6 +112,12 @@ push_binaries () {
|
|||||||
aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$BUILD_PLATFORM/whisper$S3WIN.sha256 --body whisper$S3WIN.sha256
|
aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$BUILD_PLATFORM/whisper$S3WIN.sha256 --body whisper$S3WIN.sha256
|
||||||
}
|
}
|
||||||
|
|
||||||
|
make_archive () {
|
||||||
|
echo "add artifacts to archive"
|
||||||
|
rm -rf parity.zip
|
||||||
|
zip -r parity.zip target/$PLATFORM/release/parity$S3WIN target/$PLATFORM/release/parity-evm$S3WIN target/$PLATFORM/release/ethstore$S3WIN target/$PLATFORM/release/ethkey$S3WIN target/$PLATFORM/release/whisper$S3WIN parity$S3WIN.sha256 parity-evm$S3WIN.sha256 ethstore$S3WIN.sha256 ethkey$S3WIN.sha256 whisper$S3WIN.sha256
|
||||||
|
}
|
||||||
|
|
||||||
updater_push_release () {
|
updater_push_release () {
|
||||||
echo "push release"
|
echo "push release"
|
||||||
|
|
||||||
@ -130,6 +136,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
strip_binaries
|
strip_binaries
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
updater_push_release
|
updater_push_release
|
||||||
;;
|
;;
|
||||||
@ -139,6 +146,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
strip_binaries
|
strip_binaries
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
;;
|
;;
|
||||||
armv7-unknown-linux-gnueabihf)
|
armv7-unknown-linux-gnueabihf)
|
||||||
@ -147,6 +155,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
strip_binaries
|
strip_binaries
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
;;
|
;;
|
||||||
arm-unknown-linux-gnueabihf)
|
arm-unknown-linux-gnueabihf)
|
||||||
@ -155,6 +164,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
strip_binaries
|
strip_binaries
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
;;
|
;;
|
||||||
aarch64-unknown-linux-gnu)
|
aarch64-unknown-linux-gnu)
|
||||||
@ -163,6 +173,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
strip_binaries
|
strip_binaries
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
;;
|
;;
|
||||||
x86_64-apple-darwin)
|
x86_64-apple-darwin)
|
||||||
@ -171,6 +182,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
strip_binaries
|
strip_binaries
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
updater_push_release
|
updater_push_release
|
||||||
;;
|
;;
|
||||||
@ -212,6 +224,7 @@ case $BUILD_PLATFORM in
|
|||||||
build
|
build
|
||||||
sign_exe
|
sign_exe
|
||||||
calculate_checksums
|
calculate_checksums
|
||||||
|
make_archive
|
||||||
push_binaries
|
push_binaries
|
||||||
updater_push_release
|
updater_push_release
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user