Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Commit

Permalink
Set release name from subject
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack authored Nov 10, 2021
1 parent 94a2d84 commit a6cd2b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Get Release Name
id: release-name
run: 'echo "::set-output name=NAME::$(git tag -l --format="%(contents:subject)" $GITHUB_REF_NAME'
- name: Create Release Notes
run: 'echo "$(git tag -l --format="%(contents:body)" $GITHUB_REF_NAME)" > RELEASE_NOTES'
- name: Make Release
uses: softprops/action-gh-release@v1
with:
name: ${{ steps.release-name.outputs.NAME }}
body_path: RELEASE_NOTES
files: git-release

0 comments on commit a6cd2b1

Please sign in to comment.