Skip to content

Commit

Permalink
Merge pull request #46 from jvfe/ci/improve-release
Browse files Browse the repository at this point in the history
ci: Improve create-release action
  • Loading branch information
vinisalazar committed Jan 21, 2021
2 parents 4245d36 + b7d6775 commit 297164f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: |
lastversion=$(git describe --tags)
awk /"$lastversion"'/{flag=1; next} /###/{flag=0} flag' CHANGELOG.md >> release.md
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -21,9 +24,6 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
body_path: release.md
draft: false
prerelease: false

0 comments on commit 297164f

Please sign in to comment.