[cogl/wip/release: 3/6] releasing: Fix the check for an even micro version number
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/release: 3/6] releasing: Fix the check for an even micro version number
- Date: Fri, 1 Jul 2011 15:51:46 +0000 (UTC)
commit cfe5a0a28589d11287544533e2784dc49f0abe5f
Author: Neil Roberts <neil linux intel com>
Date: Fri Jul 1 15:34:49 2011 +0100
releasing: Fix the check for an even micro version number
The check for the version number was checking against the 2.0.0 micro
version number which isn't expected to change for a long time so the
test was useless.
build/autotools/Makefile.am.release | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/autotools/Makefile.am.release b/build/autotools/Makefile.am.release
index 699b2aa..cbee6f0 100644
--- a/build/autotools/Makefile.am.release
+++ b/build/autotools/Makefile.am.release
@@ -59,9 +59,9 @@ release-verify-sane-changelogs: changelogs
release-verify-even-micro:
@echo -n "Checking that $(VERSION) has an even micro component..."
- @test "$(COGL_MICRO_VERSION)" = "`echo $(COGL_MICRO_VERSION)/2*2 | bc`" || \
+ @test "$(COGL_1_MICRO_VERSION)" = "`echo $(COGL_1_MICRO_VERSION)/2*2 | bc`" || \
(echo "Ouch." && \
- echo "The version micro component '$(COGL_MICRO_VERSION)' is not an even number." && \
+ echo "The version micro component '$(COGL_1_MICRO_VERSION)' is not an even number." && \
echo "The version in configure.ac must be incremented before a new release." && \
false)
@echo "Good."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]