From add49e14fb71e3b9b5f0988e39c3a664fd5b36b1 Mon Sep 17 00:00:00 2001 From: aAbed <39409020+TheAabedKhan@users.noreply.github.com> Date: Sun, 17 Mar 2024 22:59:22 +0545 Subject: [PATCH] fix: Pre-releases changelog being shown (#1767) --- lib/services/github_api.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/services/github_api.dart b/lib/services/github_api.dart index 51856f88ef..0c0080b9e6 100644 --- a/lib/services/github_api.dart +++ b/lib/services/github_api.dart @@ -85,6 +85,9 @@ class GithubAPI { updates++; } for (int i = 1; i < updates; i++) { + if (response.data[i]['prerelease']) { + continue; + } releases.update( 'body', (value) =>