From 6800be24836a70f745c9736af631ebb296703359 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 24 Feb 2021 00:24:45 +0100
Subject: [PATCH] Copy upload steps from flathub

---
 scripts/upload-to-flatpak-repo.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/upload-to-flatpak-repo.sh b/scripts/upload-to-flatpak-repo.sh
index f416132e6..fdb37f828 100755
--- a/scripts/upload-to-flatpak-repo.sh
+++ b/scripts/upload-to-flatpak-repo.sh
@@ -18,5 +18,7 @@ fi
 
 BUILD_URL=${BUILD_URL/http:/https:}
 
-./flat-manager-client push --commit --publish $BUILD_URL $1
+./flat-manager-client push $BUILD_URL $1
+./flat-manager-client commit --wait $BUILD_URL
+./flat-manager-client publish --wait $BUILD_URL
 
-- 
GitLab