From 24b41100c3337822acaf5c118854a66267c5ea81 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Mon, 22 May 2023 12:43:01 +0300 Subject: [PATCH] Pull request 1848: fix-snap Merge in DNS/adguard-home from fix-snap to master Squashed commit of the following: commit 4a12b2709229150e1b896b71b2b0a99249f94fde Author: Ainar Garipov Date: Sat May 20 11:51:25 2023 +0300 bamboo-specs: upd snap script --- bamboo-specs/release.yaml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/bamboo-specs/release.yaml b/bamboo-specs/release.yaml index 56fed9b1..e394b03c 100644 --- a/bamboo-specs/release.yaml +++ b/bamboo-specs/release.yaml @@ -232,25 +232,24 @@ case "$channel" in ('release') - snapchannel='candidate' - ;; + snapchannel='candidate' + ;; ('beta') - snapchannel='beta' - ;; + snapchannel='beta' + ;; ('edge') - snapchannel='edge' - ;; + snapchannel='edge' + ;; (*) - echo "invalid channel '$channel'" - exit 1 - ;; + echo "invalid channel '$channel'" + exit 1 + ;; esac env\ SNAPCRAFT_CHANNEL="$snapchannel"\ SNAPCRAFT_EMAIL="${bamboo.snapcraftEmail}"\ - SNAPCRAFT_MACAROON="${bamboo.snapcraftMacaroonPassword}"\ - SNAPCRAFT_UBUNTU_DISCHARGE="${bamboo.snapcraftUbuntuDischargePassword}"\ + SNAPCRAFT_STORE_CREDENTIALS="${bamboo.snapcraftMacaroonPassword}"\ ../bamboo-deploy-publisher/deploy.sh adguard-home-snap 'final-tasks': - 'clean' @@ -280,9 +279,9 @@ if [ "$channel" != 'release' ] && [ "${channel}" != 'beta' ] then - echo "don't publish to GitHub Releases for this channel" + echo "don't publish to GitHub Releases for this channel" - exit 0 + exit 0 fi cd ./dist/