Skip to content
Snippets Groups Projects
Commit d82222cd authored by dpgilbert's avatar dpgilbert
Browse files

Add 'pre-release' to smartctl and smartd version information

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5340 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 01091543
No related branches found
No related tags found
No related merge requests found
$Id$
2022-02-28 Douglas Gilbert <dgilbert@interlog.com>
utility.cpp: the previous patch bumped the version number
to 7.4 which probably won't be released for another
10 to 12 months. Alter the product strings to add either
"pre-release" or just "pre-" in front of release to help
stop users thinking they are using (released) version 7.4
until it actually is released.
N.B. When the release actually is performed, this patch
should be reversed (and then put back in after the release,
for the next cycle).
2022-02-28 Christian Franke <franke@computer.org>
smartmontools 7.3
......
......@@ -86,7 +86,7 @@ const char * packet_types[] = {
std::string format_version_info(const char * prog_name, bool full /*= false*/)
{
std::string info = strprintf(
"%s " PACKAGE_VERSION " "
"%s pre-release " PACKAGE_VERSION " "
#ifdef SMARTMONTOOLS_SVN_REV
SMARTMONTOOLS_SVN_DATE " r" SMARTMONTOOLS_SVN_REV
#else
......@@ -107,7 +107,7 @@ std::string format_version_info(const char * prog_name, bool full /*= false*/)
"version 2, or (at your option) any later version.\n"
"See https://www.gnu.org for further details.\n"
"\n"
"smartmontools release " PACKAGE_VERSION
"smartmontools pre-release " PACKAGE_VERSION
" dated " SMARTMONTOOLS_RELEASE_DATE " at " SMARTMONTOOLS_RELEASE_TIME "\n"
#ifdef SMARTMONTOOLS_SVN_REV
"smartmontools SVN rev " SMARTMONTOOLS_SVN_REV
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment