mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
retry uploading snap if we fail
This commit is contained in:
parent
aa5728c134
commit
2dce44ed8a
1 changed files with 6 additions and 1 deletions
|
|
@ -58,7 +58,12 @@ stages:
|
|||
mkdir -p .snapcraft
|
||||
ln -s $(snapcraftCfg.secureFilePath) .snapcraft/snapcraft.cfg
|
||||
for SNAP_FILE in snap/*.snap; do
|
||||
snapcraft upload --release=${{ parameters.snapReleaseChannel }} "${SNAP_FILE}"
|
||||
for i in `seq 1 3`;
|
||||
do
|
||||
if snapcraft upload --release=${{ parameters.snapReleaseChannel }} "${SNAP_FILE}" ; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
done
|
||||
displayName: Publish to Snap store
|
||||
- job: publish_docker
|
||||
|
|
|
|||
Loading…
Reference in a new issue