We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f35c67 commit dfe38f5Copy full SHA for dfe38f5
eng/versioning/version_shared.py
@@ -34,7 +34,7 @@
34
logging.getLogger().setLevel(logging.INFO)
35
36
def path_excluded(path):
37
- return "-nspkg" in path or "tests" in path or "mgmt" in path or is_metapackage(path)
+ return "-nspkg" in path or "tests" in path or is_metapackage(path)
38
39
# Metapackages do not have an 'azure' folder within them
40
def is_metapackage(package_path):
@@ -59,6 +59,7 @@ def get_packages(args, package_name = ""):
59
target_dir = root_dir
60
61
paths = get_setup_py_paths(args.glob_string, target_dir)
62
+
63
# Check if package is excluded if a package name param is passed
64
if package_name and not any(filter(lambda x: package_name == os.path.basename(os.path.dirname(x)), paths)):
65
logging.info("Package {} is excluded from version update tool".format(package_name))
0 commit comments