Skip to content

Commit

Permalink
Don't use None version as custom
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniyKozev committed Jan 31, 2024
1 parent a38627f commit be465fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloud/storage/core/libs/version/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace {

////////////////////////////////////////////////////////////////////////////////

const TStringBuf None = "None";
const TStringBuf ArcPart = "/arc/";
const TStringBuf ArcadiaSuffix = "/arcadia";
const TStringBuf StablePrefix = "stable-";
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit be465fb

Please sign in to comment.