Fix snapcraft grade to stable (#7894)

This commit is contained in:
Afri Schoedon 2018-02-14 19:43:50 +01:00 committed by GitHub
parent fa0e2a7449
commit 89dc08a5cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,7 +314,7 @@ case $BUILD_PLATFORM in
sed -i 's/git/'"$VER"'/g' snap/snapcraft.yaml
if [[ "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.9* ]];
then
sed -i -e 's/grade: devel/grade: beta/' snap/snapcraft.yaml;
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
fi
mv -f snap/snapcraft.yaml snapcraft.yaml
snapcraft -d