Skip to content

Commit

Permalink
update deprecated goreleaser flags (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal authored Nov 2, 2023
1 parent 1ac0657 commit 9e44f4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ upgrade-workers-kernel: # upgrade kernel and restart worker node
run:
go run -race ./cmd -config=$(config) -action=$(action) -log.level=DEBUG $(args)
build:
go run github.com/goreleaser/goreleaser@latest build --rm-dist --skip-validate
go run github.com/goreleaser/goreleaser@latest build --clean --skip=validate
apply-yaml:
kubectl apply -f ./scripts
apply-test:
Expand All @@ -55,7 +55,8 @@ download-yamls:
install:
go run github.com/goreleaser/goreleaser@latest build \
--single-target \
--rm-dist \
--skip-validate \
--clean \
--snapshot \
--skip=validate \
--output /tmp/hcloud-k8s-ctl
sudo mv /tmp/hcloud-k8s-ctl /usr/local/bin/hcloud-k8s-ctl

0 comments on commit 9e44f4c

Please sign in to comment.