Skip to content

Commit dfe38f5

Browse files
authored
don't want to exclude mgmt. auto-increments are fine here (Azure#13549)
1 parent 0f35c67 commit dfe38f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/versioning/version_shared.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
logging.getLogger().setLevel(logging.INFO)
3535

3636
def path_excluded(path):
37-
return "-nspkg" in path or "tests" in path or "mgmt" in path or is_metapackage(path)
37+
return "-nspkg" in path or "tests" in path or is_metapackage(path)
3838

3939
# Metapackages do not have an 'azure' folder within them
4040
def is_metapackage(package_path):
@@ -59,6 +59,7 @@ def get_packages(args, package_name = ""):
5959
target_dir = root_dir
6060

6161
paths = get_setup_py_paths(args.glob_string, target_dir)
62+
6263
# Check if package is excluded if a package name param is passed
6364
if package_name and not any(filter(lambda x: package_name == os.path.basename(os.path.dirname(x)), paths)):
6465
logging.info("Package {} is excluded from version update tool".format(package_name))

0 commit comments

Comments
 (0)