X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Fversion.mk;h=1a0d3c990b5db305b75f52f0ed5a4c9a23092888;hb=600d648a0db310de25d554fcebcdb46e682ae274;hp=a21bf25c7ff8be9b56b1e0ca07a537cc1e908f17;hpb=5f3c96c28503b8a0aad1514ef144b15e670d338b;p=openwrt%2Fstaging%2Fyousong.git diff --git a/include/version.mk b/include/version.mk index a21bf25c7f..1a0d3c990b 100644 --- a/include/version.mk +++ b/include/version.mk @@ -31,7 +31,7 @@ qstrip_escape=$(subst ','\'',$(call qstrip,$(1))) sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1)))) VERSION_NUMBER:=$(call qstrip_escape,$(CONFIG_VERSION_NUMBER)) -VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),CURRENT) +VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),SNAPSHOT) VERSION_CODE:=$(call qstrip_escape,$(CONFIG_VERSION_CODE)) VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),$(REVISION))