Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 9225f58

Browse files
committed
Merge branch 'dev' into feat/cicd-docker
2 parents e6cf0ff + 90bcb79 commit 9225f58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/cli/commands/cortex_upd_cmd.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ std::unique_ptr<system_info_utils::SystemInfo> GetSystemInfoWithUniversal() {
4242
std::string GetNightlyInstallerName(const std::string& v,
4343
const std::string& os_arch) {
4444
const std::string kCortex = "cortex";
45-
std::string version = v == "latest" ? "" : (v + "-");
45+
// Remove 'v' in file name
46+
std::string version = v == "latest" ? "" : (v.substr(1) + "-");
4647
#if defined(__APPLE__) && defined(__MACH__)
4748
return kCortex + "-" + version + os_arch + "-network-installer.pkg";
4849
#elif defined(__linux__)

0 commit comments

Comments
 (0)