Update gitlab-build.sh
fix conditions for snap build stable ``TAG``
This commit is contained in:
parent
98cccd5b26
commit
1952d05d9c
@ -275,7 +275,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" ]];
|
if [[ "$CI_BUILD_REF_NAME" = "stable" || "$VER" == *1.8* ]];
|
||||||
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