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