Skip to content

Commit 252db2c

Browse files
author
Travis CI
committed
fixing new line escape
1 parent d78eeab commit 252db2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ create_release(){
1717
$body,
1818
"draft": false,
1919
"prerelease": true
20-
}')
20+
}' | sed -r 's/[\]{2}/\\/g')
2121
(curl -s -X POST -w '%{stderr}%{http_code}\n%{stdout}\n' \
2222
"https://api.github.com/repos/${USERNAME}/${REPOSITORY}/releases?access_token=$REPO_TOKEN" \
2323
--data "$PAYLOAD" |\

0 commit comments

Comments
 (0)