Skip to content

Commit

Permalink
chore: bump version to v0.2.3 and fix dist path
Browse files Browse the repository at this point in the history
  • Loading branch information
Peefy committed Jul 15, 2023
1 parent 2c0f3d9 commit 0dfc3b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.2
0.2.3
10 changes: 5 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ dist:
mkdir -p build/kubectl-kcl/bin release/
cp -f README.md LICENSE build/kubectl-kcl
GOOS=linux GOARCH=amd64 $(GO) build -o build/kubectl-kcl/bin/kubectl-kcl -trimpath -ldflags="$(LDFLAGS)"
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-linux-amd64.tgz kcl/
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-linux-amd64.tgz kubectl-kcl/
GOOS=linux GOARCH=arm64 $(GO) build -o build/kubectl-kcl/bin/kubectl-kcl -trimpath -ldflags="$(LDFLAGS)"
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-linux-arm64.tgz kcl/
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-linux-arm64.tgz kubectl-kcl/
GOOS=darwin GOARCH=amd64 $(GO) build -o build/kubectl-kcl/bin/kubectl-kcl -trimpath -ldflags="$(LDFLAGS)"
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-macos-amd64.tgz kcl/
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-macos-amd64.tgz kubectl-kcl/
GOOS=darwin GOARCH=arm64 $(GO) build -o build/kubectl-kcl/bin/kubectl-kcl -trimpath -ldflags="$(LDFLAGS)"
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-macos-arm64.tgz kcl/
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-macos-arm64.tgz kubectl-kcl/
rm build/kubectl-kcl/bin/kubectl-kcl
GOOS=windows GOARCH=amd64 $(GO) build -o build/kubectl-kcl/bin/kubectl-kcl.exe -trimpath -ldflags="$(LDFLAGS)"
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-windows-amd64.tgz kcl/
tar -C build/ -zcvf $(CURDIR)/release/kubectl-kcl-windows-amd64.tgz kubectl-kcl/

.PHONY: release
release: lint dist
Expand Down

0 comments on commit 0dfc3b9

Please sign in to comment.