scripts: minor improvements (#8930)

* CI: enable 'latest' docker tag on master pipeline

* CI: mark both beta and stable as stable snap.

* CI: sign all windows binaries
This commit is contained in:
Afri Schoedon 2018-06-22 11:56:06 +02:00 committed by 5chdn
parent 33268e12e6
commit d622111d93
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80
2 changed files with 6 additions and 1 deletions

View File

@ -201,6 +201,7 @@ docker-build:
stage: build stage: build
only: only:
- tags - tags
- master
- beta - beta
- stable - stable
- triggers - triggers

View File

@ -165,6 +165,10 @@ make_pkg () {
} }
sign_exe () { sign_exe () {
./sign.cmd $keyfile $certpass "target/$PLATFORM/release/parity.exe" ./sign.cmd $keyfile $certpass "target/$PLATFORM/release/parity.exe"
./sign.cmd $keyfile $certpass "target/$PLATFORM/release/parity-evm.exe"
./sign.cmd $keyfile $certpass "target/$PLATFORM/release/ethstore.exe"
./sign.cmd $keyfile $certpass "target/$PLATFORM/release/ethkey.exe"
./sign.cmd $keyfile $certpass "target/$PLATFORM/release/whisper.exe"
} }
make_exe () { make_exe () {
./msbuild.cmd ./msbuild.cmd
@ -325,7 +329,7 @@ case $BUILD_PLATFORM in
snapcraft clean snapcraft clean
echo "Prepare snapcraft.yaml for build on Gitlab CI in Docker image" echo "Prepare snapcraft.yaml for build on Gitlab CI in Docker image"
sed -i 's/git/'"$VER"'/g' snap/snapcraft.yaml sed -i 's/git/'"$VER"'/g' snap/snapcraft.yaml
if [[ "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.11* ]]; if [[ "$CI_BUILD_REF_NAME" = "stable" || "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.10* || "$VER" == *1.11* ]];
then then
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml; sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
fi fi