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

update goreleaser manifest by replacing deprecated name_template #184

Merged
merged 5 commits into from
Jan 11, 2024

Conversation

shakahl
Copy link
Contributor

@shakahl shakahl commented Jan 11, 2024

The manifest's archives.replacements was deprecated since 2022-11-24 (v1.14.0), removed 2023-06-06 (v1.19.0)

Run goreleaser/goreleaser-action@v[2](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:2)
  with:
    version: latest
    args: release --rm-dist
    distribution: goreleaser
    workdir: .
    install-only: false
  env:
    GOROOT: /opt/hostedtoolcache/go/1.19.1[3](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:3)/x6[4](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:4)
    GITHUB_TOKEN: ***
Downloading https://github.com/goreleaser/goreleaser/releases/download/v1.23.0/goreleaser_Linux_x86_64.tar.gz
Extracting GoReleaser
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/7bc32d00-8f49-4a08-84[5](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:5)9-b[6](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:6)6cefd1[7](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:7)636 -f /home/runner/work/_temp/fb65c10[8](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:8)-b5ef-4ccd-[9](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:9)81f-8c79ee2b4[17](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:18)a
GoReleaser latest installed successfully
v0.3.3 tag found for commit '3bd401e'
/opt/hostedtoolcache/goreleaser-action/1.23.0/x64/goreleaser release --rm-dist
Flag --rm-dist has been deprecated, please use --clean instead
  • starting release...
  ⨯ release failed after 0s                  error=yaml: unmarshal errors:
  line [18](https://github.com/get-bridge/truss-cli/actions/runs/7486947297/job/20378903703#step:5:19): field replacements not found in type config.Archive
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.23.0/x64/goreleaser' failed with exit code 1

@shakahl shakahl requested a review from a team as a code owner January 11, 2024 10:46
@shakahl shakahl self-assigned this Jan 11, 2024
@shakahl shakahl added the bug Something isn't working label Jan 11, 2024
@jppakalapati
Copy link
Member

I'm seeing a new error when running goreleaser check

╰─❯ goreleaser check
  • checking                                 path=
  • DEPRECATED:  brews.tap  should not be used anymore, check https://goreleaser.com/deprecations#brewstap for more info
  • .goreleaser.yml                                  error=configuration is valid, but uses deprecated properties
  ⨯ command failed                                   error=1 out of 1 configuration file(s) have issues

@shakahl
Copy link
Contributor Author

shakahl commented Jan 11, 2024

I also

  • added vendor/ to .gitignore
    -- added .editorconfig

Copy link
Member

@jppakalapati jppakalapati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goreleaser check verified, looks good.

@shakahl shakahl merged commit 58205c0 into master Jan 11, 2024
1 check passed
@shakahl shakahl deleted the bug/fix-outdated-goreleaser-manifest branch January 11, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants