[GH-ISSUE #1386] Goreleaser version problem ? #979

Closed
opened 2026-05-07 00:29:19 +02:00 by BreizhHardware · 2 comments

Originally created by @acress1 on GitHub (Jul 12, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1386

🐞 Describe the bug
Building ntfy server fails (v2.13.0)

💻 Components impacted
ntfy server

💡 Screenshots and/or logs

goreleaser build --snapshot --clean --id ntfy_linux_amd64
  • starting build...
  ⨯ build failed after 0s                            error=only configurations files on  version: 1  are supported, yours is  version: 2 , please update your configuration
make: *** [Makefile:167: cli-linux-amd64] Error 1
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 2

🔮 Additional context
In the Makefile, there was an update for the

cli-deps-all:
	go install github.com/goreleaser/goreleaser/v2@latest

v2 added, but no for the

cli-deps-update:
	go get -u
	go install honnef.co/go/tools/cmd/staticcheck@latest
	go install golang.org/x/lint/golint@latest
	go install github.com/goreleaser/goreleaser@latest

Maybe that's the pb ?

Also in the build logs, when it dl goreleaser :

INFO[0128] RUN go install github.com/goreleaser/goreleaser@latest 
INFO[0128] Cmd: /bin/sh                                 
INFO[0128] Args: [-c go install github.com/goreleaser/goreleaser@latest] 
INFO[0128] Running: [/bin/sh -c go install github.com/goreleaser/goreleaser@latest] 
go: downloading github.com/goreleaser/goreleaser v1.26.2

v1.26.2 ??

thx!

Originally created by @acress1 on GitHub (Jul 12, 2025). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1386 :lady_beetle: **Describe the bug** Building ntfy server fails (v2.13.0) :computer: **Components impacted** ntfy server :bulb: **Screenshots and/or logs** ``` goreleaser build --snapshot --clean --id ntfy_linux_amd64 • starting build... ⨯ build failed after 0s error=only configurations files on version: 1 are supported, yours is version: 2 , please update your configuration make: *** [Makefile:167: cli-linux-amd64] Error 1 error building image: error building stage: failed to execute command: waiting for process to exit: exit status 2 ``` :crystal_ball: **Additional context** In the Makefile, there was an update for the ``` cli-deps-all: go install github.com/goreleaser/goreleaser/v2@latest ``` v2 added, but no for the ``` cli-deps-update: go get -u go install honnef.co/go/tools/cmd/staticcheck@latest go install golang.org/x/lint/golint@latest go install github.com/goreleaser/goreleaser@latest ``` Maybe that's the pb ? Also in the build logs, when it dl goreleaser : ``` INFO[0128] RUN go install github.com/goreleaser/goreleaser@latest INFO[0128] Cmd: /bin/sh INFO[0128] Args: [-c go install github.com/goreleaser/goreleaser@latest] INFO[0128] Running: [/bin/sh -c go install github.com/goreleaser/goreleaser@latest] go: downloading github.com/goreleaser/goreleaser v1.26.2 ``` v1.26.2 ?? thx!
BreizhHardware 2026-05-07 00:29:19 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@acress1 commented on GitHub (Jul 12, 2025):

I managed to solve the issue by modifying :

<!-- gh-comment-id:3065141007 --> @acress1 commented on GitHub (Jul 12, 2025): I managed to solve the issue by modifying : - Makefile [#L235](https://github.com/binwiederhier/ntfy/blob/main/Makefile#L235) Changing the link to [github.com/goreleaser/goreleaser/v2@latest](github.com/goreleaser/goreleaser/v2@latest) - Dockerfile Same.
Author
Owner

@binwiederhier commented on GitHub (Aug 8, 2025):

This should be fixed now. Thanks

<!-- gh-comment-id:3169222198 --> @binwiederhier commented on GitHub (Aug 8, 2025): This should be fixed now. Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#979
No description provided.