Skip to content

Commit a11ccd9

Browse files
Fix hardcoded version string for getting release notes
1 parent d8d4f22 commit a11ccd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Swiftcord/Views/ContentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct ContentView: View {
154154
Task {
155155
do {
156156
whatsNewMarkdown = try await GitHubAPI
157-
.getReleaseByTag(org: "SwiftcordApp", repo: "Swiftcord", tag: "v0.4.1")
157+
.getReleaseByTag(org: "SwiftcordApp", repo: "Swiftcord", tag: "v\(Bundle.main.infoDictionary!["CFBundleShortVersionString"] ?? "")")
158158
.body
159159
} catch {
160160
skipWhatsNew = true

0 commit comments

Comments
 (0)