From be465fb69d404169b1acec8b8acb1fc4479ba1b6 Mon Sep 17 00:00:00 2001 From: EvgeniyKozev Date: Tue, 23 Jan 2024 14:29:54 +0300 Subject: [PATCH] Don't use None version as custom --- cloud/storage/core/libs/version/version.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/storage/core/libs/version/version.cpp b/cloud/storage/core/libs/version/version.cpp index c3666f9b6ec..6af99710d07 100644 --- a/cloud/storage/core/libs/version/version.cpp +++ b/cloud/storage/core/libs/version/version.cpp @@ -14,6 +14,7 @@ namespace { //////////////////////////////////////////////////////////////////////////////// +const TStringBuf None = "None"; const TStringBuf ArcPart = "/arc/"; const TStringBuf ArcadiaSuffix = "/arcadia"; const TStringBuf StablePrefix = "stable-"; @@ -145,7 +146,7 @@ int GetRevisionFromBranch(const TString& branch) const TString& GetFullVersionString() { static const TString custom = GetCustomVersion(); - if (custom) { + if (custom && custom != None) { return custom; }