Update .gitlab-ci.yml
snap update
This commit is contained in:
parent
42dcdde4e8
commit
3111421866
@ -71,13 +71,13 @@ linux-snap:
|
|||||||
- triggers
|
- triggers
|
||||||
script:
|
script:
|
||||||
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
||||||
- cd scripts
|
- cd snap
|
||||||
- rm -rf *snap
|
- rm -rf *snap
|
||||||
- sed -i 's/master/'"$VER"'/g' snapcraft.yaml
|
- sed -i 's/master/'"$VER"'/g' snapcraft.yaml
|
||||||
- echo "Version:"$VER
|
- echo "Version:"$VER
|
||||||
- snapcraft
|
- snapcraft
|
||||||
- ls
|
- 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"
|
- md5sum "parity_"$VER"_amd64.snap" > "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
|
||||||
|
Loading…
Reference in New Issue
Block a user