Pull request 1972: fix-snap-upload

Squashed commit of the following:

commit 6d028abb64ef08b3678e8dc55942433308f98819
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Wed Aug 23 14:57:26 2023 +0300

    scripts: fix snap upload
This commit is contained in:
Ainar Garipov 2023-08-23 16:08:00 +03:00
parent 2bfc9fcb12
commit 3722c28464

View File

@ -76,8 +76,8 @@ do
# Skip the ones that were failed by a duplicate upload error.
case "$snapcraft_output"
in
(*'A file with this exact same content has already been uploaded'|\
'Error checking upload uniqueness'*)
(*'A file with this exact same content has already been uploaded'*|\
*'Error checking upload uniqueness'*)
log "warning: duplicate upload, skipping"
log "snapcraft upload error: ${snapcraft_output}"