From ada9339c57e78f5dac9029664ce7a5459a731461 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Fri, 3 Jul 2020 15:53:51 +0200 Subject: [PATCH] Loop for publication --- .azure-pipelines/templates/stages/deploy-stage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/stages/deploy-stage.yml b/.azure-pipelines/templates/stages/deploy-stage.yml index 407341157..8e1c9e2c0 100644 --- a/.azure-pipelines/templates/stages/deploy-stage.yml +++ b/.azure-pipelines/templates/stages/deploy-stage.yml @@ -44,5 +44,7 @@ stages: - bash: | mkdir -p .snapcraft ln -s $(snapcraftCfg.secureFilePath) .snapcraft/snapcraft.cfg - snapcraft push --release=edge snap/*.snap + for SNAP_FILE in snap/*.snap; do + snapcraft push --release=edge "${SNAP_FILE}" + done displayName: Publish to Snap store