defs.mk: Default VERSION -> 0.1.0-0-dev
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m8s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m12s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m35s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m23s
CI / Packaging test (push) Successful in 0s

Don't start a fresh project with version 1.0.0-0-dev. By default no
project can honestly claim the level of maturity suggested by 1.0.0-0
with its first commit.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-08-12 17:10:10 +02:00
commit 7f841e991e
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
2 changed files with 2 additions and 2 deletions

View file

@ -243,7 +243,7 @@ ifeq ($(VERSION),)
ifneq ($(wildcard $(VERSION_FILE)),) ifneq ($(wildcard $(VERSION_FILE)),)
VERSION := $(shell $(CAT) $(VERSION_FILE)) VERSION := $(shell $(CAT) $(VERSION_FILE))
else else
VERSION := $(shell echo 1.0.0-0-dev | tee $(VERSION_FILE)) VERSION := $(shell echo 0.1.0-0-dev | tee $(VERSION_FILE))
$(warning Automatically created missing $(VERSION_FILE).) $(warning Automatically created missing $(VERSION_FILE).)
endif endif
endif endif

View file

@ -35,7 +35,7 @@ cat_Makefile()
cat_VERSION() cat_VERSION()
{ {
cat <<-EOT cat <<-EOT
1.0.0-0-dev 0.1.0-0-dev
EOT EOT
} }