Skip to content

Commit

Permalink
fix formatting ot generated release notes #338
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-guggisberg committed Nov 21, 2018
1 parent b884522 commit 8bc0f38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ jobs:
name: "Publish Release on GitHub"
command: |
LATEST_RELEASE_TAG=$(curl -s https://api.github.com/repos/adobe/helix-cli/releases/latest | grep 'tag_name' | cut -d\" -f4)
CHAMGELOG=$(git log ${LATEST_RELEASE_TAG}...master | fgrep \# | sed -e 's/^ /* /')
RELEASE_NOTES="**Changes:**<p><p>${CHAMGELOG}<p><p>[**TODO** review/edit list of changes]"
CHANGELOG=$(git log ${LATEST_RELEASE_TAG}...master | fgrep \# | sed -e 's/^ /* /')
NEWLINE=$'\n'
RELEASE_NOTES="**Changes:**${NEWLINE}${NEWLINE}${CHANGELOG}${NEWLINE}${NEWLINE}[**TODO** review/edit list of changes]"
ghr -t ${GITHUB_API_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -b "${RELEASE_NOTES}" -recreate ${CIRCLE_TAG} ./installer_build/
workflows:
Expand Down

0 comments on commit 8bc0f38

Please sign in to comment.