Commit ff45ba37 authored by Ralf Habacker's avatar Ralf Habacker

release-windows-packages: break on any errors except on uploading files.

parent 976b14db
......@@ -12,6 +12,10 @@
#
# run ./release-windows-packages to see all modes
#
# abort on errors
set -e
self=$(realpath $0)
which 7z >/dev/null 2>&1
if test $? -ne 0; then
......@@ -118,7 +122,9 @@ createsha) ## create sha256sums
upload) ## upload files to staging area
for i in $(find work/out -name '*.7z' -o -name '*.exe'); do
set +e
curl -T $i ftp://upload.kde.org/incoming/
set -e
done
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment