selman koc
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
.github/scripts/update_versions.py
|
|
|
@ -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() |
|
|
|
|
|
|
|
|
|
|
|
|