From 3a6abfad30dafcb1f39a12e6ee74f197cb776abf Mon Sep 17 00:00:00 2001 From: "Alexandru N. Onea" Date: Tue, 9 Apr 2019 01:23:10 +0300 Subject: Initial version-bump.sh --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e3ed0ef..4de58df 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,9 @@ export LIBDIR ?= $(PREFIX)/lib export BINDIR ?= $(PREFIX)/bin export MANDIR ?= $(PREFIX)/share/man +export TINYALSA_VERSION_MAJOR = $(shell scripts/version-bump.sh -s print major) +export TINYALSA_VERSION = $(shell scripts/version-bump.sh -s print ) + .PHONY: all all: $(MAKE) -C src -- cgit v1.2.3 From 52a7957cabc961d25b2eb765c34ca4e06844e197 Mon Sep 17 00:00:00 2001 From: "Alexandru N. Onea" Date: Tue, 9 Apr 2019 21:51:27 +0300 Subject: Add check action to version-bump.sh; Activate checks --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4de58df..ea9bfef 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,10 @@ export LIBDIR ?= $(PREFIX)/lib export BINDIR ?= $(PREFIX)/bin export MANDIR ?= $(PREFIX)/share/man -export TINYALSA_VERSION_MAJOR = $(shell scripts/version-bump.sh -s print major) -export TINYALSA_VERSION = $(shell scripts/version-bump.sh -s print ) +export VERSIONSCRIPT = $(shell pwd)/scripts/version-bump.sh + +export TINYALSA_VERSION_MAJOR = $(shell $(VERSIONSCRIPT) -s print major) +export TINYALSA_VERSION = $(shell $(VERSIONSCRIPT) -s print ) .PHONY: all all: @@ -16,6 +18,7 @@ all: $(MAKE) -C utils $(MAKE) -C doxygen $(MAKE) -C examples + $(VERSIONSCRIPT) check .PHONY: clean clean: -- cgit v1.2.3 From a6838a0c6955a5803ca1b15338b971292c3e824b Mon Sep 17 00:00:00 2001 From: "Alexandru N. Onea" Date: Wed, 10 Apr 2019 01:00:58 +0300 Subject: Rename version-bump to just version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ea9bfef..f268487 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ export LIBDIR ?= $(PREFIX)/lib export BINDIR ?= $(PREFIX)/bin export MANDIR ?= $(PREFIX)/share/man -export VERSIONSCRIPT = $(shell pwd)/scripts/version-bump.sh +export VERSIONSCRIPT = $(shell pwd)/scripts/version.sh export TINYALSA_VERSION_MAJOR = $(shell $(VERSIONSCRIPT) -s print major) export TINYALSA_VERSION = $(shell $(VERSIONSCRIPT) -s print ) -- cgit v1.2.3 From 1830893d7b0c43e53da0e4c50449cf7826101614 Mon Sep 17 00:00:00 2001 From: "Alexandru N. Onea" Date: Thu, 11 Apr 2019 12:56:54 +0300 Subject: Move changelog check ver. from build systems to CI This commit moves the changelog version check to the CI instead of the build systems. Rationale is: the failure to update the changelog is not a build failure / issue but rather an integration failure and it should be detected at integration testing. The closest to integration testing is the CI testing which is mandatory before pull requests and new features integration. Additionally, the old version.py script is removed because it is relying on the old version of include/tinyalsa/version.h where the TINYALSA_VERSION_STRING macro is defiend as an explicit string literal. Since now the version string is defined piece-wise and based on the individual version numbers, and since the introduction of version.sh and its use within meson build system to get the version from the version file, the old version.py script is obsolete. --- Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f268487..9c3dcb1 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,6 @@ all: $(MAKE) -C utils $(MAKE) -C doxygen $(MAKE) -C examples - $(VERSIONSCRIPT) check .PHONY: clean clean: -- cgit v1.2.3