Skip to content

Commit

Permalink
Trying to get the commit message from the commit hash rather than the…
Browse files Browse the repository at this point in the history
… ref
  • Loading branch information
EricLemieux committed Apr 21, 2020
1 parent a2381b0 commit a1a940c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Get the tag version
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}

- name: get commit message
run: |
echo ::set-env name=message::$(git tag -l --format='%(contents)' ${{ env.tag }})
echo ::set-env name=message::$(git tag -l --format='%(contents)' ${{ github.sha }})
- name: Create Release
id: create_release
Expand Down

0 comments on commit a1a940c

Please sign in to comment.