From 264cc6c87c3277e235ef46d9510c1b8679b74232 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Thu, 13 Aug 2020 09:20:12 +0800 Subject: [PATCH] Removed build version from release notes url --- Multiplatform/Shared/Release Notes/ReleaseNotes.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Multiplatform/Shared/Release Notes/ReleaseNotes.swift b/Multiplatform/Shared/Release Notes/ReleaseNotes.swift index f5cda3473..d9a91fbba 100644 --- a/Multiplatform/Shared/Release Notes/ReleaseNotes.swift +++ b/Multiplatform/Shared/Release Notes/ReleaseNotes.swift @@ -16,7 +16,7 @@ struct ReleaseNotes { gitHub += "mac-\(String(describing: versionString()))" return URL(string: gitHub)! #else - gitHub += "ios-\(String(describing: versionString()))-\(String(describing: buildVersionString()))" + gitHub += "ios-\(String(describing: versionString()))" return URL(string: gitHub)! #endif } @@ -24,9 +24,5 @@ struct ReleaseNotes { private func versionString() -> String { Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "" } - - private func buildVersionString() -> String { - Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String ?? "" - } }