mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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.
This commit is contained in:
parent
b11f6c9e11
commit
cfe5a0a285
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user