From 9cf7d42f5d6a99ce6368a09fd17486648be450d1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 31 Jan 2021 18:54:18 -0300 Subject: Makefile: Remove 'v' prefix from $(VERSION) variable --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index be1a082..4f9cb7c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .POSIX: PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man -VERSION = v0.1.2 +VERSION = 0.1.2 DATE = 2021-01-26 all: @@ -39,8 +39,8 @@ check: fi dist: - if git show $(VERSION) 1>/dev/null 2>/dev/null; then \ - echo 'Version $(VERSION) already exists.'; \ + if git show v$(VERSION) 1>/dev/null 2>/dev/null; then \ + echo 'Version v$(VERSION) already exists.'; \ exit 1; \ fi @@ -49,7 +49,7 @@ dist: exit 1; \ fi - git tag $(VERSION) + git tag v$(VERSION) NAME = remembering public: README.md TODOs.md CHANGELOG.md -- cgit v1.2.3