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"