diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-11-23 23:36:50 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-11-23 23:36:50 +0100 |
commit | ab262f70b6d86e74c0ad0c4dd88e910046129786 (patch) | |
tree | a2a1fbd7a94ec5a3b5f5dc3478e697ebe7658e49 /.github/workflows | |
parent | f08a7c655c8e87bcb6391cb74a74462b96ec16c7 (diff) | |
download | feed2imap-go-ab262f70b6d86e74c0ad0c4dd88e910046129786.tar.gz feed2imap-go-ab262f70b6d86e74c0ad0c4dd88e910046129786.tar.bz2 feed2imap-go-ab262f70b6d86e74c0ad0c4dd88e910046129786.zip |
Fix release.ymlv0.5.2
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/release.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1356e06..cb80408 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,17 +20,24 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Get version from tag + uses: little-core-labs/get-git-tag@v3.0.2 + id: tag_name + with: + tagRegex: "v(.*)" + - name: Get Changelog Entry id: changelog_reader uses: mindsers/changelog-reader-action@v2 with: - version: ${{ github.ref }} + version: ${{ steps.tag_name.outputs.tag }} path: ./CHANGELOG.md - name: Safe Changelog Text + id: changelog_text run: | echo '${{ steps.changelog_reader.outputs.changes }}' >> $HOME/changelog_entry - echo "clfile=${HOME}/changelog_entry" >> $GITHUB_ENV + echo ::set-output name=clfile::$HOME/changelog_entry - name: Docker Login uses: azure/docker-login@v1 @@ -50,7 +57,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: --release-notes ${{ env.clfile }} + args: --release-notes ${{ steps.changelog_text.outputs.clfile }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |