diff options
author | xengineering <me@xengineering.eu> | 2024-02-02 21:34:32 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-02-02 21:34:32 +0100 |
commit | aa9f5f134e995693633b5dba569d631fc4389624 (patch) | |
tree | 08692f36ed4b0a1385793fa35287207e87890955 | |
parent | 65bd53fb8c324c2237ccd9ce06bb9f3d47222f1f (diff) | |
download | soundbox-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |