mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 21:56:07 +08:00
[chore] update main after 0.22b0 release (#528)
This commit is contained in:
@ -604,6 +604,8 @@ def filter_packages(targets, packages):
|
||||
filtered_packages = []
|
||||
for target in targets:
|
||||
for pkg in packages:
|
||||
if str(pkg) == "all":
|
||||
continue
|
||||
if str(pkg) in str(target):
|
||||
filtered_packages.append(target)
|
||||
break
|
||||
@ -626,8 +628,12 @@ def update_dependencies(targets, version, packages):
|
||||
if "all" in packages:
|
||||
packages.extend(targets)
|
||||
for pkg in packages:
|
||||
if str(pkg) == "all":
|
||||
continue
|
||||
print(pkg)
|
||||
package_name = str(pkg).split("/")[-1]
|
||||
# Windows uses backslashes
|
||||
package_name = str(pkg).split("\\")[-1]
|
||||
print(package_name)
|
||||
|
||||
update_files(
|
||||
|
Reference in New Issue
Block a user