[neon/snap-packaging/kcalc-snap/release.beta] debian: forgot an elif
Carlos De Maine
null at kde.org
Wed Nov 27 04:23:57 GMT 2024
Git commit 28aa77ebf7c8b30e971571f302b24c44341007fc by Carlos De Maine.
Committed on 27/11/2024 at 04:23.
Pushed by carlosdem into branch 'release.beta'.
forgot an elif
M +1 -1 debian/snap-snapcraft-core-lxd-proto.yml
https://invent.kde.org/neon/snap-packaging/kcalc-snap/-/commit/28aa77ebf7c8b30e971571f302b24c44341007fc
diff --git a/debian/snap-snapcraft-core-lxd-proto.yml b/debian/snap-snapcraft-core-lxd-proto.yml
index 588b30b..8a7e895 100644
--- a/debian/snap-snapcraft-core-lxd-proto.yml
+++ b/debian/snap-snapcraft-core-lxd-proto.yml
@@ -91,6 +91,7 @@ snap_snapcraft_core_publish:
elif [ "$KDE_SNAP_BRANCH" == "release.stable" ]; then
export KDE_SNAP_CHANNEL="stable"
# don't publish work branches
+ elif [ "$KDE_SNAP_BRANCH" == "work.*" ]; then
export KDE_SNAP_CHANNEL="no_publish"
echo "we don't publish work branches to the snap store, you can download your snap from this jobs artifacts"
else
@@ -98,7 +99,6 @@ snap_snapcraft_core_publish:
export KDE_SNAP_CHANNEL="no_publish"
echo "we only publish recognised branches to the snap store"
fi
- - |
# publish if we are on a recognised branch
if [ "$KDE_SNAP_CHANNEL" != "no_publish" ]
echo "KDE_SNAP_BRANCH is $KDE_SNAP_BRANCH thus KDE_SNAP_CHANNEL is publishing to $KDE_SNAP_CHANNEL"
More information about the Neon-commits
mailing list