mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Removed build version from release notes url
This commit is contained in:
@@ -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 ?? ""
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user