27 return "6.14.20251211.2005.dev5";
36 return {
"6",
"14",
"20251211.2005",
".dev5"};
41 const unsigned long patchVersion = std::stoul(
version.patch);
46 std::stringstream versionLabel;
48 if ( (patchVersion < 100 &&
version.tweak.empty())
50 ||
version.tweak.substr(0, 2) ==
"rc") {
52 versionLabel <<
"." << patchVersion;
55 const unsigned long minorVersion = std::stoul(
version.minor);
56 versionLabel <<
version.major <<
"." << minorVersion + 1 <<
"." <<
"0";
59 return versionLabel.str();
64 const std::string STEM =
"release/v";
65 const std::string END =
"/index.html";
67 std::stringstream url;
76 return "g85781e38a56";
81 return "85781e38a56bfa04ca21f837108bbcffcb0f080c";
86 return "Fri, 12 Dec 2025";
91 const std::string MAIN =
"http://dx.doi.org/10.5286/Software/Mantid";
93 const unsigned int patchVersion =
static_cast<unsigned int>(20251211.2005);
99 const std::string tweakVersion(
".dev5");
100 if( patchVersion > 100 || !tweakVersion.empty())
103 std::stringstream
doi;
104 doi << MAIN << 6 <<
"." << 14;
107 if( patchVersion != 0 )
108 doi <<
"." << patchVersion;
115 return "http://dx.doi.org/10.1016/j.nima.2014.07.029";
static const VersionInfo versionInfo()
A data structure containing the full version info.
static const char * version()
The full version number.
static std::string doi()
The DOI for this release of Mantid.
static const char * versionShort()
The version number of the last full version.
static std::string releaseNotes()
The url to the most applicable release notes.
static std::string paperCitation()
The citation for the Mantid paper.
static const char * revisionFull()
The full SHA-1 of the last commit.
static std::string versionForReleaseNotes(const VersionInfo &)
The version of mantid for the release notes url.
static const char * releaseDate()
The date of the last commit.
static const char * revision()
The abbreviated SHA-1 of the last commit.