Update update_versions.py

pull/16446/head
selman koc 3 years ago committed by GitHub
parent 3f5d63e25a
commit 89e591ae10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ from github import Github
def update_latest_versions():
version = os.environ["GITHUB_REF"].split("/")[-1]
if "rc" not in version:
if "rc" in version:
return False
with open("latest-versions.json", "r") as f:
@ -49,4 +49,4 @@ if __name__ == "__dev__":
should_create_pr = update_latest_versions()
if should_create_pr:
create_pr()

Loading…
Cancel
Save