ci: update version strings for snaps (#9160)
This commit is contained in:
parent
fb2b77e991
commit
6bee9cd1e4
@ -198,7 +198,7 @@ case $BUILD_PLATFORM in
|
|||||||
snapcraft clean
|
snapcraft clean
|
||||||
echo "Prepare snapcraft.yaml for build on Gitlab CI in Docker image"
|
echo "Prepare snapcraft.yaml for build on Gitlab CI in Docker image"
|
||||||
sed -i 's/git/'"$VER"'/g' snap/snapcraft.yaml
|
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
|
then
|
||||||
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
|
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user