Skip to content

Commit

Permalink
[chore] Fix Makefile (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth authored Apr 5, 2024
1 parent 11d21b5 commit 8444beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ goreleaser-verify: goreleaser
@${GORELEASER} release --snapshot --clean

ensure-goreleaser-up-to-date: generate-goreleaser
@git diff -s --exit-code distributions/*/.goreleaser.yaml || (echo "Build failed: The goreleaser templates have changed but the .goreleaser.yamls haven't. Run 'make generate-goreleaser' and update your PR." && exit 0)
@git diff -s --exit-code distributions/*/.goreleaser.yaml || (echo "Check failed: The goreleaser templates have changed but the .goreleaser.yamls haven't. Run 'make generate-goreleaser' and update your PR." && exit 1)

.PHONY: ocb
ocb:
Expand Down
2 changes: 1 addition & 1 deletion cmd/goreleaser/internal/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func Package(dist string) config.NFPM {
{
Source: "config.yaml",
Destination: path.Join("/etc", dist, "config.yaml"),
Type: "config",
Type: "config|noreplace",
},
},
},
Expand Down

0 comments on commit 8444beb

Please sign in to comment.