Skip to content

Commit

Permalink
use curl instead of wget
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Apr 2, 2023
1 parent 69e5adb commit 911474c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/publish-release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ echo Creating GitHub release https://github.com/%REPO_NAME%/releases/tag/v%PROJE
echo "prerelease":%PREPRELEASE%
echo }
)>target\github_release.json
wget -qO- --header="Authorization: token %GITHUB_ACCESS_TOKEN%" --post-file=target/github_release.json "https://api.github.com/repos/%REPO_NAME%/releases" || goto :eof
curl -sSf -H "Authorization: token %GITHUB_ACCESS_TOKEN%" -d @target/github_release.json "https://api.github.com/repos/%REPO_NAME%/releases" || exit /B 1

REM submit haxelib release
echo Submitting haxelib release...
Expand Down

0 comments on commit 911474c

Please sign in to comment.