diff --git a/Loop/Managers/SupportManager.swift b/Loop/Managers/SupportManager.swift index 58cddddf74..18f3df912d 100644 --- a/Loop/Managers/SupportManager.swift +++ b/Loop/Managers/SupportManager.swift @@ -227,7 +227,7 @@ extension SupportManager: SupportUIDelegate { } private var branchNameIfNotReleaseBranch: String? { - return BuildDetails.default.gitBranch.filter { branch in + return BuildDetails.default.workspaceGitBranch.filter { branch in return branch != "" && branch != "main" && branch != "master" && diff --git a/Version.xcconfig b/Version.xcconfig index a7c7fe29d1..c5da25416b 100644 --- a/Version.xcconfig +++ b/Version.xcconfig @@ -6,9 +6,11 @@ // Copyright © 2020 LoopKit Authors. All rights reserved. // -// Version [DEFAULT] -LOOP_MARKETING_VERSION = 3.5.0 -CURRENT_PROJECT_VERSION = 57 +// Version +// [for DIY Loop] configure the version number in LoopWorkspace +LOOP_MARKETING_VERSION = 1.0 +CURRENT_PROJECT_VERSION = 1 -// Optional override +// Optional override (enables override of version) +#include? "../VersionOverride.xcconfig" #include? "VersionOverride.xcconfig"