Update .gitlab-ci.yml

fix snap CI
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-07-19 00:48:46 +03:00 committed by GitHub
parent e734ca4bf1
commit 2f066535cb

View File

@ -77,8 +77,10 @@ linux-snap:
- echo "Version:"$VER - echo "Version:"$VER
- snapcraft - snapcraft
- ls - ls
- cp "parity_"$CI_BUILD"_amd64.snap" "parity_"$VER"_amd64.snap" #- cp "parity_"$CI_BUILD"_amd64.snap" "parity_"$VER"_amd64.snap"
- md5sum "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5" - md5sum "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5"
- file "parity_"$VER"_amd64.snap.md5"
- cat "parity_"$VER"_amd64.snap.md5"
- aws configure set aws_access_key_id $s3_key - aws configure set aws_access_key_id $s3_key
- aws configure set aws_secret_access_key $s3_secret - aws configure set aws_secret_access_key $s3_secret
- if [[ $CI_BUILD_REF_NAME =~ ^(master|beta|stable|nightly)$ ]]; then export S3_BUCKET=builds-parity-published; else export S3_BUCKET=builds-parity; fi - if [[ $CI_BUILD_REF_NAME =~ ^(master|beta|stable|nightly)$ ]]; then export S3_BUCKET=builds-parity-published; else export S3_BUCKET=builds-parity; fi