From 1c22c507fb32fc9f23b17ea73933801813a0d4ff Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 15 Nov 2012 21:32:38 +0100 Subject: [PATCH] scripts: use a dot to separate third and fourth digits Traditionally, Linux distributions have been using the dash as a separator between the package's upstream versionning and their own local packaging versioning. Using a dash in kconfig-frontends' own versioning scheme may confuse the distributions, which may not expect this situation (and even if some do, not all do). In the beginings, I thought about using a dash to make it explicit that the digits before the dash was Linux' version, while the digit(s) after the dash was kconfig-frontends' version. That, because the Linux version has only two digits for .0 releases, and three digits for stable releases. But since the Linux kernel's Makefile still report a three-digit version even for .0 releases, we ended up always using a three-digit Linux version, and thus always had a four-digit kconfig-frontends' version. So, use a dot instead of a dash. Signed-off-by: "Yann E. MORIN" --- scripts/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/version.sh b/scripts/version.sh index 57f699c..b3d0c6e 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -38,6 +38,6 @@ esac if [ "${plain}" -eq 1 ]; then echo "${k_ver_plain}" else - echo "${k_ver}${k_ver_extra}-${kf_ver}" + echo "${k_ver}${k_ver_extra}.${kf_ver}" fi -- 2.39.5