potiuk commented on a change in pull request #11487:
URL: https://github.com/apache/airflow/pull/11487#discussion_r503855591



##########
File path: provider_packages/setup_provider_packages.py
##########
@@ -788,21 +808,39 @@ def convert_cross_package_dependencies_to_table(
     "release_version release_version_no_leading_zeros last_commit_hash content 
file_name")
 
 
-def strip_leading_zeros(release_version: str) -> str:
-    return release_version.replace(".0", ".")
+def strip_leading_zeros(release_version: str, backport_packages: bool) -> str:

Review comment:
       This still works for dates beacause there are no dates with .0 :)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to