diff --git a/Makefile b/Makefile index 70b2243..e9ed8eb 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,6 @@ version-check: version-bump: BUMP ?= patch version-bump: - @git diff --quiet HEAD || (printf '工作区不干净,请先提交或暂存改动\n' && exit 1) $(eval _BUMP_ARG := $(if $(SET_VERSION),$(SET_VERSION),$(BUMP))) $(eval _NEW_VERSION := $(shell go run ./versionctl bump $(_BUMP_ARG))) git add VERSION frontend/