From 50675a57169ef8a72ec427f264fec2f209200b7c Mon Sep 17 00:00:00 2001 From: James Chung Date: Sun, 16 Apr 2023 13:48:59 -0500 Subject: [PATCH] ci: :wrench: update makefile --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ff8a88..51f857b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ release: goreleaser release --clean .PHONY: tag -tag: +tag: update docs git tag -a v0.0.0-beta.$$(date +"%Y%m%d") -m v0.0.0-beta.$$(date +"%Y%m%d") .PHONY: local @@ -25,3 +25,11 @@ docs: @git restore --staged . @git add ./docs @git commit -m "docs: :memo: update documentation" + +.PHONY: update +update: + go get -u + go mod tidy + @git restore --staged . + @git add go.mod go.sum + @git commit -m "chore: :arrow_up: upgrade dependencies"