Skip to content

Commit

Permalink
check_version change
Browse files Browse the repository at this point in the history
  • Loading branch information
jitu5 committed Apr 23, 2024
1 parent 064d84f commit 0f4e7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/github_actions/check_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_package_version(base_path, package_path):
def is_package_version_valid(pypi_endpoint, package_name, package_version):
print(f"Check if {package_name} {package_version} is on pypi")
response = requests.get(pypi_endpoint, timeout=10)
if response.status_code == 404:
if response.status_code != 404:
# Version doesn't exist on Pypi - do release
print(f"Starting the release of {package_name} {package_version}")
return True
Expand Down

0 comments on commit 0f4e7f1

Please sign in to comment.