From eb8e738213f9ca7bd257fd4144f24cde6c304f4a Mon Sep 17 00:00:00 2001 From: Bas van Kampen Date: Wed, 27 Nov 2024 08:16:47 +0100 Subject: [PATCH] Remove VERSION file and use git tag for version --- Makefile | 2 +- VERSION | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 VERSION diff --git a/Makefile b/Makefile index d988af7..2844394 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ COMMIT_ID=$(shell git rev-parse --short HEAD) -VERSION=$(shell cat VERSION) +VERSION=$(shell git describe --tags --abbrev=0 | sed 's/v//g') NAME=metrics-viewer diff --git a/VERSION b/VERSION deleted file mode 100644 index b63ba69..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.9