[neon/snap-packaging/gwenview-snap/Neon/master] debian: declare the KDE_SNAP_CHANNEL variable so that we can access everywhere
Carlos De Maine
null at kde.org
Mon Aug 19 22:19:00 BST 2024
Git commit 153ce78058fef79031232e70fb59d133a3352622 by Carlos De Maine.
Committed on 19/08/2024 at 21:18.
Pushed by carlosdem into branch 'Neon/master'.
declare the KDE_SNAP_CHANNEL variable so that we can access everywhere
M +5 -4 debian/snap-base-proto.yml
https://invent.kde.org/neon/snap-packaging/gwenview-snap/-/commit/153ce78058fef79031232e70fb59d133a3352622
diff --git a/debian/snap-base-proto.yml b/debian/snap-base-proto.yml
index 9d61009..a0d0214 100644
--- a/debian/snap-base-proto.yml
+++ b/debian/snap-base-proto.yml
@@ -5,6 +5,7 @@
variables:
KDE_SNAP_MODULE_NAME: ${CI_PROJECT_NAME}
KDE_SNAP_BRANCH: $CI_COMMIT_REF_NAME
+ KDE_SNAP_CHANNEL: "default"
SNAPCRAFT_BUILD_ENVIRONMENT: "lxd"
SNAPCRAFT_MANAGED_MODE: "y"
interruptible: true
@@ -14,14 +15,14 @@
script:
- git config --global --add safe.directory $CI_PROJECT_DIR
- |
- if [ "$KDE_SNAP_BRANCH" == "Neon/master" ]; then
- export KDE_SNAP_CHANNEL="edge"
+ if [ "$KDE_SNAP_BRANCH" == "Neon/master" ]; then
+ KDE_SNAP_CHANNEL="edge"
done
if [ "$KDE_SNAP_BRANCH" == "Neon/release-24.08" ]; then
- export KDE_SNAP_CHANNEL="candidate"
+ KDE_SNAP_CHANNEL="candidate"
done
if [ "$KDE_SNAP_BRANCH" == "Neon/release-24.05" ]; then
- export KDE_SNAP_CHANNEL="stable"
+ KDE_SNAP_CHANNEL="stable"
done
artifacts:
name: Snap artifacts
More information about the Neon-commits
mailing list