ci: fix changelog file path

main v0.2.0
sundowndev 2021-05-19 16:43:27 +02:00
parent 71af3f00e0
commit c50cf8aeb7
1 changed files with 2 additions and 2 deletions

View File

@ -24,11 +24,11 @@ jobs:
sudo apt-add-repository https://cli.github.com/packages sudo apt-add-repository https://cli.github.com/packages
sudo apt update sudo apt update
sudo apt install gh sudo apt install gh
gh issue list --limit 100 --state closed > changelog.txt gh issue list --limit 100 --state closed > /tmp/changelog.txt
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
with: with:
version: latest version: latest
args: release --rm-dist --release-notes=changelog.txt args: release --rm-dist --release-notes=/tmp/changelog.txt
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}