From 9f0fdc5e78331a9486c1be2de2d062abff63deb7 Mon Sep 17 00:00:00 2001 From: Dimitry Kolyshev Date: Fri, 8 Apr 2022 16:43:49 +0300 Subject: [PATCH] Pull request: upd bamboo-specs snapcraft Merge in DNS/adguard-home from upd-bamboo-spec to master Squashed commit of the following: commit c26c70f97cbce98afd5c7d4241188d6949869c2a Author: Dimitry Kolyshev Date: Fri Apr 8 13:51:23 2022 +0200 upd bamboo-specs snapcraft commit afe40c03b70d2b2dff9c7c25044d7924bdd3c765 Author: Dimitry Kolyshev Date: Fri Apr 8 13:10:38 2022 +0200 upd bamboo-specs snapcraft --- bamboo-specs/release.yaml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/bamboo-specs/release.yaml b/bamboo-specs/release.yaml index 50bf1362..62abf5ce 100644 --- a/bamboo-specs/release.yaml +++ b/bamboo-specs/release.yaml @@ -183,8 +183,27 @@ cd ./dist/ + channel="${bamboo.channel}" + readonly channel + case "$channel" + in + ('release') + snapchannel='candidate' + ;; + ('beta') + snapchannel='beta' + ;; + ('edge') + snapchannel='edge' + ;; + (*) + echo "invalid channel '$channel'" + exit 1 + ;; + esac + env\ - SNAPCRAFT_CHANNEL=edge\ + SNAPCRAFT_CHANNEL="$snapchannel"\ SNAPCRAFT_EMAIL="${bamboo.snapcraftEmail}"\ SNAPCRAFT_MACAROON="${bamboo.snapcraftMacaroonPassword}"\ SNAPCRAFT_UBUNTU_DISCHARGE="${bamboo.snapcraftUbuntuDischargePassword}"\