gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: version check


From: gnunet
Subject: [libeufin] branch master updated: version check
Date: Wed, 22 Feb 2023 17:03:07 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 8e2097ff version check
8e2097ff is described below

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

    version check
    
    warning in the Makefile when the project
    version as stated into Kotlin differs from
    the current Git tag.
---
 Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8530fdd0..c3b1895e 100644
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]