Merge pull request #1103 from phw/ci-do-not-fail-on-transfersh-upload

CI: Do not fail the build if macOS upload to transfer.sh fails
This commit is contained in:
Philipp Wolfer
2019-02-18 15:11:37 +01:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ hdiutil create -volname "MusicBrainz Picard $VERSION" -srcfolder 'MusicBrainz Pi
[ "$codesign" = '1' ] && codesign --keychain picard.keychain --verify --verbose --sign 'Developer ID Application: MetaBrainz Foundation Inc.' "$dmg"
if [ -n "$UPLOAD_OSX" ]
then
curl -v --fail --upload-file "$dmg" https://transfer.sh/
curl -v --retry 6 --retry-delay 10 --upload-file "$dmg" https://transfer.sh/
# Required for a newline between the outputs
echo -e "\n"
md5 -r "$dmg"