From df87524e5371db148ca2a691acffe680e20a9793 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Thu, 25 Jul 2013 13:23:20 +0900 Subject: [PATCH] =?utf8?q?make=20gittag=E3=81=A7=E3=80=81=E8=87=AA?= =?utf8?q?=E5=8B=95=E7=9A=84=E3=81=ABVERSION=E3=83=95=E3=82=A1=E3=82=A4?= =?utf8?q?=E3=83=AB=E3=81=AE=E3=83=91=E3=83=83=E3=83=81=E7=95=AA=E5=8F=B7?= =?utf8?q?=E3=82=92=E3=82=A2=E3=83=83=E3=83=97=E3=81=99=E3=82=8B=E6=A9=9F?= =?utf8?q?=E8=83=BD=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 590022e..2cc1f04 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ $(VERSIONFILES): VERSION @$(SED) -e "s/@@VERSION@@/$(VERSION)/g" $@.version >$@ gittag: - patch=$(PATCH); while ($(GIT) tag | $(GREP) v$(VER)p$${patch}); do $(EXPR) $${patch} + 1; done; $(ECHO) v$(VER)p$${patch} >VERSION + patch=$(PATCH); while ($(GIT) tag | $(GREP) v$(VER)p$${patch}); do patch=`$(EXPR) $${patch} + 1`; done; $(ECHO) v$(VER)p$${patch} >VERSION if ($(GIT) status -s | $(GREP) VERSION); then $(GIT) add VERSION; $(GIT) commit --amend --no-edit; fi $(CAT) VERSION | $(XARGS) $(GIT) tag -- 2.18.0