Fix snapcraft grade to stable (#7894)
This commit is contained in:
parent
fa0e2a7449
commit
89dc08a5cd
@ -314,7 +314,7 @@ case $BUILD_PLATFORM in
|
|||||||
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.9* ]];
|
if [[ "$CI_BUILD_REF_NAME" = "beta" || "$VER" == *1.9* ]];
|
||||||
then
|
then
|
||||||
sed -i -e 's/grade: devel/grade: beta/' snap/snapcraft.yaml;
|
sed -i -e 's/grade: devel/grade: stable/' snap/snapcraft.yaml;
|
||||||
fi
|
fi
|
||||||
mv -f snap/snapcraft.yaml snapcraft.yaml
|
mv -f snap/snapcraft.yaml snapcraft.yaml
|
||||||
snapcraft -d
|
snapcraft -d
|
||||||
|
Loading…
Reference in New Issue
Block a user