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

Can't run make bin with goreleaser 2.3.2 and --skip-publish #427

Open
Psidium opened this issue Oct 23, 2024 · 1 comment
Open

Can't run make bin with goreleaser 2.3.2 and --skip-publish #427

Psidium opened this issue Oct 23, 2024 · 1 comment

Comments

@Psidium
Copy link

Psidium commented Oct 23, 2024

When using version 2.3.2 of goreleaser (see the version below), and running make bin, I was get the following error:

goreleaser --snapshot --skip-publish --clean
  ⨯ command failed                                   error=unknown flag: --skip-publish
make: *** [bin] Error 1

this can be fixed by changing --skip-publish to --skip=publish on the Makefile.

Didn't submit a PR because I don't know when this changed, but I thought you should know.

  ____       ____      _
 / ___| ___ |  _ \ ___| | ___  __ _ ___  ___ _ __
| |  _ / _ \| |_) / _ \ |/ _ \/ _` / __|/ _ \ '__|
| |_| | (_) |  _ <  __/ |  __/ (_| \__ \  __/ |
 \____|\___/|_| \_\___|_|\___|\__,_|___/\___|_|
goreleaser: Deliver Go Binaries as fast and easily as possible
https://goreleaser.com

GitVersion:    2.3.2
GitCommit:     e8c2ef77358b4b1e59b904322824ccbfa3487ab2
GitTreeState:  false
BuildDate:     2024-09-17T12:30:49Z
BuiltBy:       goreleaser
GoVersion:     go1.23.1
Compiler:      gc
ModuleSum:     h1:/fSs+KwmCXCXN4eeI27z/xp1+FwIS4rWisL6aTUeiGw=
Platform:      darwin/arm64
@kwk
Copy link
Contributor

kwk commented Dec 19, 2024

@Psidium this changed in GoReleaser 2023-09-14 (v1.21)

--skip

since 2023-09-14 (v1.21), removed 2024-05-26 (v2.0)

The following goreleaser release flags were deprecated:

--skip-announce
--skip-before
--skip-docker
--skip-ko
--skip-publish
--skip-sbom
--skip-sign
--skip-validate

See https://goreleaser.com/deprecations/#-skip

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

2 participants