[neon/snap-packaging/kcalc-snap/release.beta] debian: needs to be it's own bash script
Carlos De Maine
null at kde.org
Wed Nov 27 04:00:34 GMT 2024
Git commit 584e3a8d6a51c061fdc0645ec1cf2ca1db6acd26 by Carlos De Maine.
Committed on 27/11/2024 at 04:00.
Pushed by carlosdem into branch 'release.beta'.
needs to be it's own bash script
M +2 -0 debian/snap-snapcraft-core-lxd-proto.yml
https://invent.kde.org/neon/snap-packaging/kcalc-snap/-/commit/584e3a8d6a51c061fdc0645ec1cf2ca1db6acd26
diff --git a/debian/snap-snapcraft-core-lxd-proto.yml b/debian/snap-snapcraft-core-lxd-proto.yml
index ac8adf7..588b30b 100644
--- a/debian/snap-snapcraft-core-lxd-proto.yml
+++ b/debian/snap-snapcraft-core-lxd-proto.yml
@@ -98,6 +98,8 @@ 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"
snapcraft push --release=$KDE_SNAP_CHANNEL *.snap --verbose 2>&1 | tee publish.log
More information about the Neon-commits
mailing list