Skip to content

Commit

Permalink
fixing new line escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI committed Jan 8, 2020
1 parent d78eeab commit 252db2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ create_release(){
$body,
"draft": false,
"prerelease": true
}')
}' | sed -r 's/[\]{2}/\\/g')
(curl -s -X POST -w '%{stderr}%{http_code}\n%{stdout}\n' \
"https://api.github.com/repos/${USERNAME}/${REPOSITORY}/releases?access_token=$REPO_TOKEN" \
--data "$PAYLOAD" |\
Expand Down

0 comments on commit 252db2c

Please sign in to comment.