chores(release-script): Fix Flathub PR integration

The comments the Flathub bot makes were recently changed.
This commit is contained in:
Julian Schmidhuber committed 2025-04-22 15:23:17 +02:00
1 parent 08c0151dbd
commit 95ca2ed95c
1 file changed
+2 -2
+2 -2
View File
@@ -160,8 +160,8 @@ done
echo "> Detected open Flatpak PR to monitor: $pr_number. Depending on the current Flathub buildbot usage, the build can take a long time to complete. You will be notified once the build succeeds."
comments=$(curl "https://api.github.com/repos/flathub/$app_id/issues/$pr_number/comments" 2> /dev/null)
while ! echo "$comments" | grep "Build.*successful" &> /dev/null; do
if echo "$comments" | grep "Build.*failed" &> /dev/null; then
while ! echo "$comments" | grep "build.*succeeded" &> /dev/null; do
if echo "$comments" | grep "build.*failed" &> /dev/null; then
notify-send "Flathub build failed" "Please resolve manually."
echo "! Flathub build failed. Please resolve manually."
exit 1