Commit f4a6272e authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #464] parent_dir in script

parent f6c0f0dc
......@@ -46,11 +46,16 @@ uploadDoc() {
link="${BASH_REMATCH[1]}"
fi
docUploadDone=$(curl "$link" -F file=@./$DOC_NAME -F parent_dir="/")
docUploadDone=$(curl "$link" -F file=@./$DOC_NAME -F parent_dir="/Documentation/")
echo "$docUploadDone"
echo "REMOVE DOC"
rm -f $DOC_NAME
if [[ $docUploadDone == *"error"* ]]
then
exit -1
fi
}
uploadAppImage() {
......@@ -65,11 +70,16 @@ uploadAppImage() {
link="${BASH_REMATCH[1]}"
fi
appUploadDone=$(curl "$link" -F file=@./$APP_NAME -F parent_dir="/")
appUploadDone=$(curl "$link" -F file=@./$APP_NAME -F parent_dir="/AppImage/")
echo "$appUploadDone"
echo "REMOVE APPIMAGE"
rm -f $APP_NAME
if [[ $docUploadDone == *"error"* ]]
then
exit -1
fi
}
if [[ "$GIT_BRANCH" == "master" ]]
......
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