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}"