From 5b05d4afc4650a9652ef608ae22aacccb77708ca Mon Sep 17 00:00:00 2001 From: Alessandro Domanico Date: Tue, 23 Jul 2024 11:30:18 +0200 Subject: [PATCH] Update curl short form --- .github/workflows/release-announcement.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-announcement.yml b/.github/workflows/release-announcement.yml index 466fb835..3ecf4e50 100644 --- a/.github/workflows/release-announcement.yml +++ b/.github/workflows/release-announcement.yml @@ -22,10 +22,10 @@ jobs: RELEASE_NAME: ${{ github.event.release.name }} RELEASE_BODY: ${{ github.event.release.body }} run: | - curl --location 'https://sourceforge.net/rest/p/openhospital/blog' \ - --header 'Content-Type: application/x-www-form-urlencoded' \ - --header 'Authorization: Bearer $SOURCEFORGE_BEARER' \ - --data-urlencode 'labels=release' \ - --data-urlencode 'state=draft' \ - --data-urlencode 'text=$RELEASE_BODY' \ - --data-urlencode 'title=$RELEASE_NAME' + curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \ + -H "Authorization: Bearer $SOURCEFORGE_BEARER" \ + -d "labels=release" \ + -d "state=draft" \ + -d "text=$RELEASE_BODY" \ + -d "title=$RELEASE_NAME" \ + "https://sourceforge.net/rest/p/openhospital/blog"