diff --git a/scripts/gitlab-build.sh b/scripts/gitlab-build.sh index 89fa2a085..c37d7c94a 100755 --- a/scripts/gitlab-build.sh +++ b/scripts/gitlab-build.sh @@ -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