ci: update version strings for snaps (#9160)

This commit is contained in:
Afri Schoedon 2018-07-20 19:55:17 +02:00 committed by Denis S. Soldatov aka General-Beck
parent fb2b77e991
commit 6bee9cd1e4
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,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" || "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.10* || "$VER" == *1.11* ]];
if [[ "$CI_BUILD_REF_NAME" = "stable" || "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.11* || "$VER" == *2.0* ]];
then
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
fi