Skip to content

Conversation

@suzuki-shunsuke
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke commented Dec 25, 2025

Fix the failure of the release workflow

https://github.com/folbricht/desync/actions/runs/20182747796/job/57946632910

/opt/hostedtoolcache/goreleaser-action/2.13.1/x64/goreleaser release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist

https://goreleaser.com/deprecations/#-rm-dist

since 2023-01-17 (v1.15.0), removed 2024-05-26 (v2.0)
--rm-dist has been deprecated in favor of --clean.

Fix the GoReleaser's deprecation warning

$ goreleaser check
  • only version: 2 configuration files are supported, yours is version: 0, please update your configuration
  • checking                                  path=.goreleaser.yml
  • DEPRECATED: snapshot.name_template should not be used anymore, check https://goreleaser.com/deprecations#snapshotname_template for more info
  • .goreleaser.yml                                  error=configuration is valid, but uses deprecated properties
  ⨯ check failed                                     error=1 out of 1 configuration file(s) have issues

https://goreleaser.com/deprecations#snapshotname_template

https://github.com/folbricht/desync/actions/runs/20182747796/job/57946632910

```
/opt/hostedtoolcache/goreleaser-action/2.13.1/x64/goreleaser release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist
```

https://goreleaser.com/deprecations/#-rm-dist

> since 2023-01-17 (v1.15.0), removed 2024-05-26 (v2.0)
> --rm-dist has been deprecated in favor of --clean.
```console
$ goreleaser check
  • only version: 2 configuration files are supported, yours is version: 0, please update your configuration
  • checking                                  path=.goreleaser.yml
  • DEPRECATED: snapshot.name_template should not be used anymore, check https://goreleaser.com/deprecations#snapshotname_template for more info
  • .goreleaser.yml                                  error=configuration is valid, but uses deprecated properties
  ⨯ check failed                                     error=1 out of 1 configuration file(s) have issues
```
Copy link
Owner

@folbricht folbricht left a comment

Choose a reason for hiding this comment

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

Thank you

@folbricht folbricht merged commit 08b4414 into folbricht:master Dec 25, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this to Done in main Dec 25, 2025
@suzuki-shunsuke suzuki-shunsuke deleted the ci-fix-release branch December 25, 2025 04:26
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

Successfully merging this pull request may close these issues.

2 participants