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

chore(goreleaser): fix the failure of goreleaser #10

Merged
merged 1 commit into from
May 1, 2024
Merged

chore(goreleaser): fix the failure of goreleaser #10

merged 1 commit into from
May 1, 2024

Commits on May 1, 2024

  1. chore(goreleaser): fix the failure of goreleaser

    https://github.com/sachaos/toggl/actions/runs/8881061491/job/24382541225
    
    ```
    Run goreleaser/goreleaser-action@v1
    ✅ GoReleaser version found: v1.25.1
    ⬇️ Downloading https://github.com/goreleaser/goreleaser/releases/download/v1.25.1/goreleaser_Linux_x86_64.tar.gz...
    📦 Extracting GoReleaser...
    /usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/28a838f1-afca-4c05-9b9d-f0edb7982e94 -f /home/runner/work/_temp/f0bd4416-ebfb-407a-b04b-b15019c02fb0
    ✅ v0.6.0 tag found for commit 'd730e48'
    🏃 Running GoReleaser...
    /opt/hostedtoolcache/goreleaser-action/1.25.1/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 17: field replacements not found in type config.Archive
    Error: The process '/opt/hostedtoolcache/goreleaser-action/1.25.1/x64/goreleaser' failed with exit code 1
    ```
    
    Replace the deprecated field `replacements` with `name_templates`.
    
    https://goreleaser.com/deprecations/?h=replacements#nfpmsmaintainer_1
    suzuki-shunsuke committed May 1, 2024
    Configuration menu
    Copy the full SHA
    173e0d5 View commit details
    Browse the repository at this point in the history