diff --git a/automation_tools/flathub_push_main.sh b/automation_tools/flathub_push_main.sh index 7765b4be..3f243c04 100755 --- a/automation_tools/flathub_push_main.sh +++ b/automation_tools/flathub_push_main.sh @@ -100,6 +100,7 @@ git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch" if [ -n "${GITHUB_WORKFLOW}" ]; then gh auth login --with-token <<< "${GITHUB_TOKEN}" gh repo set-default "${flathub_target_repo}" + gh repo create-branch --branch "$relname" gh repo sync --force --branch "$relname" else git push --force "https://github.com/${flathub_target_repo}" "$relname"