Skip to content

Commit

Permalink
chore(ci): Replace deprecated GoReleaser --skip-publish flag (#1893)
Browse files Browse the repository at this point in the history
https://goreleaser.com/deprecations/#-skip

Signed-off-by: Andrew Haines <haines@cerbos.dev>
  • Loading branch information
haines committed Nov 29, 2023
1 parent d51f597 commit c62c562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yaml
Expand Up @@ -100,7 +100,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --config=.goreleaser.yml --clean --snapshot --skip-publish
args: release --config=.goreleaser.yml --clean --snapshot --skip=publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TELEMETRY_WRITE_KEY: ${{ secrets.TELEMETRY_WRITE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -124,7 +124,7 @@ build: generate lint test package

.PHONY: package
package: $(GORELEASER)
@ TELEMETRY_WRITE_KEY=$(TELEMETRY_WRITE_KEY) TELEMETRY_URL=$(TELEMETRY_URL) $(GORELEASER) release --config=.goreleaser.yml --snapshot --skip-publish --clean
@ TELEMETRY_WRITE_KEY=$(TELEMETRY_WRITE_KEY) TELEMETRY_URL=$(TELEMETRY_URL) $(GORELEASER) release --config=.goreleaser.yml --snapshot --skip=publish --clean

.PHONY: docs
docs: confdocs
Expand Down

0 comments on commit c62c562

Please sign in to comment.