mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
801098f546
Signed-off-by: Michael Schuster <michael@schuster.ms>
21 lines
No EOL
391 B
Bash
Executable file
21 lines
No EOL
391 B
Bash
Executable file
#! /bin/bash
|
|
|
|
set -xe
|
|
|
|
cd /build
|
|
|
|
# Upload AppImage
|
|
APPIMAGE=$(readlink -f ./Nextcloud*.AppImage)
|
|
BASENAME=$(basename ${APPIMAGE})
|
|
|
|
if curl --max-time 900 --upload-file ${APPIMAGE} https://transfer.sh/${BASENAME}
|
|
then
|
|
echo
|
|
echo "Get the AppImage at the link above!"
|
|
else
|
|
echo
|
|
echo "Upload failed, however this is an optional step."
|
|
fi
|
|
|
|
# Don't let the Drone build fail
|
|
exit 0 |