Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support goreleaser version 2+ #32

Open
madpah opened this issue Jun 18, 2024 · 0 comments
Open

Support goreleaser version 2+ #32

madpah opened this issue Jun 18, 2024 · 0 comments

Comments

@madpah
Copy link
Collaborator

madpah commented Jun 18, 2024

Since goreleaser version 2.x.x became the latest, our CI Release has had to be pinned to goreleaser >2.

See error from here:

Run goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7
  with:
    args: release --clean
    distribution: goreleaser
    version: latest
    workdir: .
    install-only: false
  env:
    GITHUB_TOKEN: ***
    GPG_FINGERPRINT: 1893C1319840BA076A5B789BF6C9F8B9A4D0E019
Downloading https://github.com/goreleaser/goreleaser/releases/download/v[2](https://github.com/sonatype-nexus-community/terraform-provider-sonatypeiq/actions/runs/9564419737/job/26365095334#step:5:2).0.1
/goreleaser_Linux_x86_64.tar.gz
Extracting GoReleaser
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/d960648f-[3](https://github.com/sonatype-nexus-community/terraform-provider-sonatypeiq/actions/runs/9564419737/job/26365095334#step:5:3)c85-44c4-8511-48a5775d37e1 -f /home/runner/work/_temp/b[4](https://github.com/sonatype-nexus-community/terraform-provider-sonatypeiq/actions/runs/9564419737/job/26365095334#step:5:4)55e0fe-5739-40f3-b7a7-aab3[5](https://github.com/sonatype-nexus-community/terraform-provider-sonatypeiq/actions/runs/9564419737/job/26365095334#step:5:5)4b12cc8
GoReleaser latest installed successfully
/opt/hostedtoolcache/goreleaser-action/2.0.1/x[6](https://github.com/sonatype-nexus-community/terraform-provider-sonatypeiq/actions/runs/9564419737/job/26365095334#step:5:6)4/goreleaser release --clean
  • starting release...
  • only configurations files on version: 2 are supported, yours is version: 0, please update your configuration
  ⨯ release failed after 0s                  error=only configurations files on version: 2 are supported, yours is version: 0, please update your configuration
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser' failed with exit code 1

See also https://goreleaser.com/blog/goreleaser-v2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant