Skip to content

Commit

Permalink
Update check_package_release.py
Browse files Browse the repository at this point in the history
Signed-off-by: Antony Milne <[email protected]>
  • Loading branch information
antonymilne authored Oct 26, 2023
1 parent b5f4205 commit b8b7810
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/check_package_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8b7810

Please sign in to comment.