goreleaser / goreleaser-action

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

GoReleaser action upgraded GoReleaser to v2 despite pinned tag at action v4. #465

Closed abraithwaite closed 3 months ago

abraithwaite commented 3 months ago

Our goreleaser github action workflows broke last week with the release of 2.0, even though we didn't upgrade the pin on the github ation, because we had the --debug flag set.

Is there an easy way to downgrade until we're ready to do the migration to v2.0?

Thanks!

abraithwaite commented 3 months ago

NVM, We had latest tagged in the action, despite the action version being pinned.

caarlos0 commented 3 months ago

fwiw, this was changed in v5, so instead of latest by default v5 uses ~> v1 and v6 uses ~> v2

this should avoid breaking changes in the future.

abraithwaite commented 3 months ago

Nice! Thank you, very thoughtful! We'll definitely have to upgrade.