From 3111421866542cba4d4d20fa9e983eac5aaa3ac3 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Sat, 17 Jun 2017 22:03:12 +0300 Subject: [PATCH] Update .gitlab-ci.yml snap update --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f12dd1aff..ff03eb79e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,13 +71,13 @@ linux-snap: - triggers script: - export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n") - - cd scripts + - cd snap - rm -rf *snap - sed -i 's/master/'"$VER"'/g' snapcraft.yaml - echo "Version:"$VER - snapcraft - ls - - cp parity_master_amd64.snap parity_"$VER"_amd64.snap + - cp "parity_"$CI_BUILD"_REF_NAME_amd64.snap" "parity_"$VER"_amd64.snap" - md5sum "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5" - aws configure set aws_access_key_id $s3_key - aws configure set aws_secret_access_key $s3_secret