Commit 008e04bb authored by captainwong's avatar captainwong

fix version.h

parent 38f050bb
......@@ -184,7 +184,7 @@ int resolveLatestRelease(const JsonValue& value, LatestRelease& latestRelease) {
for (int i = 0; i < (int)Branch::BranchCount; i++) {
Branch branch = Branch(i);
if (value.isMember(branchName(branch))) {
const auto& detail = value[BranchNameTest];
const auto& detail = value[branchName(branch)];
Release release;
release.branch = branch;
release.version = detail["version"].asString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment