From 62bddcc8348092b5be708e5ff4053dfa3580a9d5 Mon Sep 17 00:00:00 2001 From: "PolicyEngine[bot]" Date: Wed, 22 May 2024 22:24:00 +0200 Subject: [PATCH] fix: Fix reference to main branch in bump_country_package --- changelog_entry.yaml | 4 ++++ gcp/bump_country_package.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29..0e3726d 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + changed: + - Fixed main branch reference in bump_country_package \ No newline at end of file diff --git a/gcp/bump_country_package.py b/gcp/bump_country_package.py index 3c5341a..236c173 100644 --- a/gcp/bump_country_package.py +++ b/gcp/bump_country_package.py @@ -73,7 +73,7 @@ def bump_country_package(country, version): os.system(f"git push -u origin {branch_name} -f") # Create a pull request using the GitHub CLI os.system( - f"gh pr create --title 'Update {country_package_full_name} to {version}' --body 'Update {country_package_full_name} to {version}' --base master --head {branch_name}" + f"gh pr create --title 'Update {country_package_full_name} to {version}' --body 'Update {country_package_full_name} to {version}' --base main --head {branch_name}" )