Allow stable snaps to be stable. (#8582)

This commit is contained in:
Afri Schoedon 2018-05-14 11:21:48 +02:00 committed by André Silva
parent b9ceda38a6
commit 063b0761f5

View File

@ -314,7 +314,7 @@ case $BUILD_PLATFORM in
snapcraft clean
echo "Prepare snapcraft.yaml for build on Gitlab CI in Docker image"
sed -i 's/git/'"$VER"'/g' snap/snapcraft.yaml
if [[ "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.11* ]];
if [[ "$CI_BUILD_REF_NAME" = "stable" || "$VER" == *1.10* ]];
then
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
fi