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:
authorKenneth Skovhede <kenneth@hexad.dk>2020-08-07 14:41:32 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2020-08-07 14:41:32 +0300
commit9380bbba60b2adfd90f211f412204f4e59256e09 (patch)
tree719e1d68d37cbf5a7bc03d00c51a37fde324265b /build-release.sh
parent25c1a5b657dc31e224e70f8523f2d4ba3ea3a955 (diff)
Updated discourse automatic post creation to use the new API format
Diffstat (limited to 'build-release.sh')
-rw-r--r--build-release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-release.sh b/build-release.sh
index 4ce995016..70a9809e9 100644
--- a/build-release.sh
+++ b/build-release.sh
@@ -392,8 +392,8 @@ ${RELEASE_CHANGEINFO_NEWS}
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}" \
+ -H "Api-Key: ${DISCOURSE_APIKEY}" \
+ -H "Api-Username: ${DISCOURSE_USERNAME}" \
-F "category=10" \
-F "title=Release: ${RELEASE_VERSION} (${RELEASE_TYPE}) ${RELEASE_TIMESTAMP}" \
-F "raw=${body}"