From 1952d05d9c3ec977a33d8c1182f3c9d421c9c6f1 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Thu, 1 Feb 2018 22:25:22 +0300 Subject: [PATCH] Update gitlab-build.sh fix conditions for snap build stable ``TAG`` --- scripts/gitlab-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitlab-build.sh b/scripts/gitlab-build.sh index 6bebb85e6..10edd711e 100755 --- a/scripts/gitlab-build.sh +++ b/scripts/gitlab-build.sh @@ -275,7 +275,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" = "stable" ]]; + if [[ "$CI_BUILD_REF_NAME" = "stable" || "$VER" == *1.8* ]]; then sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml; fi