diff --git a/tools/check_package_release.py b/tools/check_package_release.py index 245436dfe..804f10484 100644 --- a/tools/check_package_release.py +++ b/tools/check_package_release.py @@ -41,9 +41,9 @@ def _check_no_dev_version(package_name, package_version): for package_name in AVAILABLE_PACKAGES: package_version = subprocess.check_output(["hatch", "version"], cwd=f"{package_name}").decode("utf-8").strip() - if _check_no_dev_version(package_name, package_version): # and _check_no_version_pypi( - # package_name, package_version - # ): + if _check_no_dev_version(package_name, package_version) and _check_no_version_pypi( + package_name, package_version + ): if new_release: sys.exit("Cannot release two packages at the same time. Please modify your PR.") new_release = True