From 1395e3d65f9fcdef67690d47d64cfad79d472a25 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Thu, 16 Jun 2022 16:49:58 -0700 Subject: [PATCH] follow instructions on https://forum.snapcraft.io/t/snapcraft-authentication-options/30473 --- .azure-pipelines/templates/stages/deploy-stage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/stages/deploy-stage.yml b/.azure-pipelines/templates/stages/deploy-stage.yml index 8ce0f171a..3c9356de9 100644 --- a/.azure-pipelines/templates/stages/deploy-stage.yml +++ b/.azure-pipelines/templates/stages/deploy-stage.yml @@ -64,7 +64,7 @@ stages: secureFile: snapcraft.cfg - bash: | set -e - export SNAPCRAFT_STORE_CREDENTIALS=$(snapcraftCfg.secureFilePath) + export SNAPCRAFT_STORE_CREDENTIALS=$(cat snapcraftCfg.secureFilePath) snapcraft login for SNAP_FILE in snap/*.snap; do tools/retry.sh eval snapcraft upload --release=${{ parameters.snapReleaseChannel }} "${SNAP_FILE}"