goreleaser / goreleaser-action

GitHub Action for GoReleaser
https://github.com/marketplace/actions/goreleaser-action
MIT License
833 stars 73 forks source link

release flag doesn't work `--release-header` #452

Closed tsaikat closed 4 months ago

tsaikat commented 4 months ago

When i use this flag as string it tries to open it as a file and fails. using it like release --release-header="##Release" --clean --verbose

generating changelog
    • loading file "## Release"
  ⨯ release failed after 43s                 error=open ## Release: no such file or directory

But when i use it with release-notes somehow it works fine release -release-notes=CHANGELOG.md --release-header="## Release"

caarlos0 commented 4 months ago

as pointed out in the docs and goreleaser release --help, that flags needs to point out to a file

https://goreleaser.com/cmd/goreleaser_release/?h=release