(fix): release description formatting
All checks were successful
/ deploy (push) Successful in 18m34s
All checks were successful
/ deploy (push) Successful in 18m34s
This commit is contained in:
parent
075964a449
commit
9f83f1e1b7
2 changed files with 23 additions and 23 deletions
|
|
@ -68,9 +68,9 @@ jobs:
|
|||
|
||||
LATEST_PROD_TAG="$(git tag --list 'v*' --sort=-v:refname | head -n 1 || true)"
|
||||
if [ -n "$LATEST_PROD_TAG" ]; then
|
||||
BODY="$(git log "$LATEST_PROD_TAG"..HEAD --pretty=format:'- %s')"
|
||||
BODY="$(git log "$LATEST_PROD_TAG"..HEAD --pretty=format:'- %s' | sed 's/$/<br>/')"
|
||||
else
|
||||
BODY="$(git log --pretty=format:'- %s')"
|
||||
BODY="$(git log --pretty=format:'- %s' | sed 's/$/<br>/')"
|
||||
fi
|
||||
|
||||
HTTP_STATUS=$(curl -s -w "%{http_code}" -o release_out.json -H "Authorization: token $TOKEN" "$API/repos/$REPO/releases/tags/$TAG")
|
||||
|
|
|
|||
Loading…
Reference in a new issue