Debian Codegraph @

cmake/upload-artifacts.sh.in

raw
1 #!/bin/bash
2
3 EXIT_CODE=0
4 for file in build/merkaartor-*.{dmg,zip,exe,AppImage}; do
5 # The glob may expand to non-existing file if one of the suffixes don't exist. Ignore those and only upload existing artifacts.
6 if [ -e "$file" ]; then
7 cloudsmith push raw --version "@VCS_DESCRIBE@" merkaartor/merkaartor-nightly "$file"
8 [ $? -ne 0 ] && EXIT_CODE=1
9 fi
10 done
11
12 exit ${EXIT_CODE}