Skip to content

Commit

Permalink
Update curl short form
Browse files Browse the repository at this point in the history
  • Loading branch information
mwithi authored Jul 23, 2024
1 parent 138dae4 commit 5b05d4a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-announcement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5b05d4a

Please sign in to comment.