Skip to content

Commit

Permalink
Include release notes in release body
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed May 25, 2022
1 parent 3fab6fd commit 57cdf42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,18 @@ jobs:
- name: Verify index migration from 0.3.x to 0.4.x
run: hack/verify-index-migration.sh

- name: Make release notes
if: contains(github.ref, 'tags')
run: |
echo 'RELEASE_NOTES<<EOF' >> $GITHUB_ENV
TAG=$GITHUB_REF_NAME hack/make-release-notes.sh >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Create a new release
if: contains(github.ref, 'tags')
id: create_release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ github.ref_name }}
files: out/krew*
body: ${{ env.RELEASE_NOTES }}

0 comments on commit 57cdf42

Please sign in to comment.