Skip to content

Commit

Permalink
fix(please): use single quote instead of double in json body [fixes #13]
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Oct 4, 2018
1 parent 04c8917 commit 3ae11a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion please
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ fi

# release
info "Releasing $NEXT_VERSION ..."
COMMITS=`echo -e "$COMMITS" | sed -z 's/\n/<br>/g'`
COMMITS=`echo -e "$COMMITS" | sed -z "s/\n/<br>/g; s/\"/'/g"`
LAST_RELEASE_ID=`github \
"-H 'Content-Type: application/json' \
-d '{\"tag_name\":\"${NEXT_VERSION}\",\"name\":\"Version ${NEXT_VERSION}\",\"body\":\"${COMMITS}\"}' \
Expand Down

0 comments on commit 3ae11a2

Please sign in to comment.