Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fonimus authored Apr 23, 2021
1 parent ac253e1 commit b8d1356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
run: |
export changeLog=$(echo ${{ steps.changelog.outputs.changelog }} | sed -e "s/##/###/g")
export toImport="## [${GITHUB_REF##*/}](https://github.com/${{ github.repository }}/releases/tag/${GITHUB_REF##*/})\n\n$changeLog"
sed "/^##/i $toImport\n" CHANGELOG.md > CHANGELOG.md
export allFile=$(sed "/^##/i $toImport\n" CHANGELOG.md)
echo $allFile > CHANGELOG.md
cat CHANGELOG.md
- name: Add and commit
uses: EndBug/add-and-commit@v7.0.0
with:
branch: master
message: Add release ${GITHUB_REF##*/} in CHANGLOG.md
default_author: github-actions

0 comments on commit b8d1356

Please sign in to comment.