From f86fa6a06209e10369b47d2cb9bee19707a7eef0 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 3 Jul 2014 21:43:14 +0100 Subject: [PATCH] Fix make tag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 306cc8877..ec4170269 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ TAG := $(shell git describe --tags) LAST_TAG := $(shell git describe --tags --abbrev=0) -NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = "v" . $$_') +NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)') rclone: *.go */*.go @go version