summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-02-02 21:34:32 +0100
committerxengineering <me@xengineering.eu>2024-02-02 21:34:32 +0100
commitaa9f5f134e995693633b5dba569d631fc4389624 (patch)
tree08692f36ed4b0a1385793fa35287207e87890955
parent65bd53fb8c324c2237ccd9ce06bb9f3d47222f1f (diff)
downloadsoundbox-aa9f5f134e995693633b5dba569d631fc4389624.tar
soundbox-aa9f5f134e995693633b5dba569d631fc4389624.tar.zst
soundbox-aa9f5f134e995693633b5dba569d631fc4389624.zip
Fix wrong version string0.1.0
The `--long` option for `git describe` adds the number of commits since the last release and the Git hash always (even on a release). This is not intended. Removing this option works before and after the first release as expected.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd8c14e..7633882 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ LICENSE := $(BUILD_DIR)/LICENSE.txt
DATE := $(BUILD_DIR)/date.txt
VERSION_FILE := $(BUILD_DIR)/version.txt
ARTIFACTS_DIR := $(BUILD_DIR)/artifacts
-VERSION := $(shell git describe --dirty --long --always)
+VERSION := $(shell git describe --dirty --always)
TARGET_NAME := soundbox-$(VERSION)
VERSIONED_DOC := $(ARTIFACTS_DIR)/$(TARGET_NAME)-documentation.pdf
TARGET_DIR := $(ARTIFACTS_DIR)/$(TARGET_NAME)