Skip to content

Commit

Permalink
Merge pull request #40 from smutel/ImproveRelease
Browse files Browse the repository at this point in the history
ci: Fix get tag
  • Loading branch information
smutel authored Jan 1, 2021
2 parents 98d93ff + deb8d1c commit dbb7ef9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1

- name: Generate CHANGELOG for this version
run: ./utils/getChangelogRelease CHANGELOG.md $TAG > /tmp/RELEASE_CHANGELOG.md
env:
TAG: ${{ github.event.release.tag_name }}
run: ./utils/getChangelogRelease CHANGELOG.md ${{ steps.tag.outputs.tag }} > /tmp/RELEASE_CHANGELOG.md

- name: Run GoReleaser
uses: goreleaser/[email protected]
Expand Down

0 comments on commit dbb7ef9

Please sign in to comment.