Allow stable snaps to be stable. (#8582)
This commit is contained in:
parent
b9ceda38a6
commit
063b0761f5
@ -314,7 +314,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" = "beta" || "$VER" == *1.11* ]];
|
if [[ "$CI_BUILD_REF_NAME" = "stable" || "$VER" == *1.10* ]];
|
||||||
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