Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-release.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-release.sh b/build-release.sh
index 7e7fb4c8b..5fec34ee2 100644
--- a/build-release.sh
+++ b/build-release.sh
@@ -374,9 +374,11 @@ ${RELEASE_CHANGEINFO_NEWS}
DISCOURSE_APIKEY=$(echo "${DISCOURSE_TOKEN}" | cut -d ":" -f 2)
curl -X POST "https://forum.duplicati.com/posts" \
+ -H "Content-Type: multipart/form-data" \
+ -H "Accept: application/json" \
-F "api_key=${DISCOURSE_APIKEY}" \
-F "api_username=${DISCOURSE_USERNAME}" \
- -F "category=Releases" \
+ -F "category=10" \
-F "title=Release: ${RELEASE_VERSION} (${RELEASE_TYPE}) ${RELEASE_TIMESTAMP}" \
-F "raw=${body}"
fi