This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/3973
Remove bogus error message
* mark 'release' target as virtual (not tight to a presence of a certain
file)
* silence bumpversion test warning outside of release target
Change-Id: Ia6ab79fe2f6b502ea223aa72e929dd3c75f34b5c
Related: OS#1861
---
M Makefile.am
M osmo-release.mk
2 files changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/73/3973/1
diff --git a/Makefile.am b/Makefile.am
index 8b35856..9dfcdba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,8 @@
@RELMAKE@
+.PHONY: release
+
relengdir = $(includedir)
releng_DATA = osmo-release.mk
diff --git a/osmo-release.mk b/osmo-release.mk
index 40eb121..ea36f23 100644
--- a/osmo-release.mk
+++ b/osmo-release.mk
@@ -2,8 +2,8 @@
REL := patch
endif
-BUMPVER := $(shell bumpversion)
-NEW_VER := $(shell bumpversion --list --current-version $(VERSION) $(REL) --allow-dirty | awk -F '=' '{ print $$2 }')
+BUMPVER := $(shell which bumpversion 2>/dev/null)
+NEW_VER := $(shell bumpversion --list --current-version $(VERSION) $(REL) --allow-dirty 2>/dev/null | awk -F '=' '{ print $$2 }')
LIBVERS := $(shell git grep -n LIBVERSION | grep '=' | grep am | grep -v LDFLAGS)
MAKEMOD := $(shell git diff -GLIBVERSION --stat | grep Makefile.am)
ISODATE := $(shell date -I)
--
To view, visit https://gerrit.osmocom.org/3973
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6ab79fe2f6b502ea223aa72e929dd3c75f34b5c
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>