Skip to content

Commit

Permalink
chore: update makefile with release scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed Oct 28, 2024
1 parent 944a8f2 commit 3b4d827
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ fmt:
go fmt ./...

image:
docker build . -t docker.io/kcllang/kustomize-kcl:$(VERSION)
docker push docker.io/kcllang/kustomize-kcl:$(VERSION)
docker build . -t docker.io/kcllang/kustomize-kcl:v$(VERSION)
docker push docker.io/kcllang/kustomize-kcl:v$(VERSION)

release:
git tag v$(VERSION)
git push origin v$(VERSION)
gh release create v$(VERSION) --draft --generate-notes --title "$(VERSION) Release"

0 comments on commit 3b4d827

Please sign in to comment.