@@ -50,7 +50,8 @@ def bump_pyproject_vers(pyproject, project, new_ver):
5050
5151def bump_package_data_ver (project , new_ver ):
5252 log .info (f'{ msgs .log_BUMPING_VER_IN } assets/data/package_data.json...' )
53- updated_json_content = re .sub (r'"(?>\d{1,3}\.\d{1,3}\.\d{1,3})"' , f'"{ new_ver } "' , data .file .read (paths .package_data ))
53+ updated_json_content = re .sub (
54+ r'"(?>\d{1,3}\.\d{1,3}\.\d{1,3})"' , f'"{ new_ver } "' , data .file .read (paths .package_data ))
5455 data .file .write (paths .package_data , updated_json_content )
5556 log .success (msgs .log_BUMPED_PACKAGE_DATA_VER .format (prev_ver = project .version , ** locals ()))
5657
@@ -86,8 +87,10 @@ def main():
8687 else :
8788 git .init_kudo_sync_bot (msgs )
8889 log .info (f'{ msgs .log_COMMITTING_CHANGES } ...' )
89- git .commit ([str (paths .pyproject ), str (paths .package_data )], f'Bumped { project .name } versions to { new_ver } ' )
90- git .commit ([str (paths .readme )], f'Updated { project .name } versions in README URLs to { new_ver } ' )
90+ git .commit ([str (paths .pyproject ), str (paths .package_data )],
91+ f'Bumped { project .name } versions to { new_ver } ' , '-n' )
92+ git .commit ([str (paths .readme )],
93+ f'Updated { project .name } versions in README URLs to { new_ver } ' , '-n' )
9194 if args .no_push :
9295 print (f'\n { msgs .log_SKIPPING_GIT_PUSH } ...' )
9396 else :
0 commit comments