Skip to content

Commit

Permalink
Fix prepare_release for 11.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
onurctirtir committed Feb 3, 2023
1 parent 5d0b01e commit 48c3031
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packaging_automation/prepare_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
CONFIG_PY = "src/test/regress/upgrade/config.py"
DISTRIBUTED_SQL_DIR_PATH = "src/backend/distributed/sql"
DOWNGRADES_DIR_PATH = f"{DISTRIBUTED_SQL_DIR_PATH}/downgrades"
CONFIGURE_IN = "configure.in"
CONFIGURE_IN = "configure.ac"
CONFIGURE = "configure"
CITUS_CONTROL_SEARCH_PATTERN = r"^default_version*"

Expand Down Expand Up @@ -262,7 +262,7 @@ def prepare_release_branch_for_patch_release(patchReleaseParams: PatchReleasePar
run(f"git checkout -b {patchReleaseParams.release_branch_name}")
else:
checkout_branch(patchReleaseParams.release_branch_name, patchReleaseParams.is_test)
# change version info in configure.in file
# change version info in configure.ac file
update_version_in_configure_in(patchReleaseParams.project_name, patchReleaseParams.configure_in_path,
patchReleaseParams.project_version)
# execute "auto-conf "
Expand Down Expand Up @@ -295,7 +295,7 @@ def prepare_upcoming_version_branch(upcoming_params: UpcomingVersionBranchParams
checkout_branch(upcoming_params.main_branch, upcoming_params.is_test)
# create master-update-version-$curtime branch
create_and_checkout_branch(upcoming_params.upcoming_version_branch)
# update version info with upcoming version on configure.in
# update version info with upcoming version on configure.ac
update_version_in_configure_in(upcoming_params.project_name, upcoming_params.configure_in_path,
upcoming_params.upcoming_devel_version)
# update version info with upcoming version on config.py
Expand Down Expand Up @@ -351,7 +351,7 @@ def prepare_release_branch_for_major_release(majorReleaseParams: MajorReleasePar
checkout_branch(majorReleaseParams.main_branch, majorReleaseParams.is_test)
# create release branch in release-X.Y format
create_and_checkout_branch(majorReleaseParams.release_branch_name)
# change version info in configure.in file
# change version info in configure.ac file
update_version_in_configure_in(majorReleaseParams.project_name, majorReleaseParams.configure_in_path,
majorReleaseParams.project_version)
# execute "autoconf -f"
Expand Down

0 comments on commit 48c3031

Please sign in to comment.