libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 8e2097ff41ee020d764cc14a3d14654c71f97906
parent bce0bd2a5f0bc2fd2a874005cd1d622a8edc25df
Author: MS <ms@taler.net>
Date:   Wed, 22 Feb 2023 17:01:36 +0100

version check

warning in the Makefile when the project
version as stated into Kotlin differs from
the current Git tag.

Diffstat:
MMakefile | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -5,15 +5,22 @@ escaped_pwd = $(shell pwd | sed 's/\//\\\//g') all: assemble install: install-nexus install-sandbox install-cli git-archive-all = ./build-system/taler-build-scripts/archive-with-submodules/git_archive_all.py - +git_tag=$(shell git describe --tags) +gradle_version=$(shell ./gradlew -q libeufinVersion) +define versions_check = + if test $(git_tag) != "v$(gradle_version)"; \ + then echo WARNING: Project version from Gradle: $(gradle_version) differs from current Git tag: $(git_tag); fi +endef .PHONY: dist dist: + @$(call versions_check) @mkdir -p build/distributions @$(git-archive-all) --include ./configure build/distributions/libeufin-$(shell ./gradlew -q libeufinVersion)-sources.tar.gz .PHONY: exec-arch exec-arch: + @$(call versions_check) @./gradlew -q execArch .PHONY: deb