Update Gitlab scripts

This commit is contained in:
5chdn
2018-04-24 20:16:16 +02:00
parent 5dd3729256
commit 4b3ea9b1af
2 changed files with 2 additions and 2 deletions

View File

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