Skip to content

Commit

Permalink
skip alpha and beta versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Dec 19, 2023
1 parent 1bfa412 commit fb241b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fetch_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ def get_micromamba(version='latest'):
assert(len(all_versions) == 1)
version = all_versions.pop()

if "alpha" in version or "beta" in version:
print("Skipping alpha/beta version")
set_output("MICROMAMBA_NEW_VERSION", "false")
return

all_build = set([d["attrs"]["build_number"] for d in rj["distributions"]])
build = max(all_build)

Expand Down

0 comments on commit fb241b8

Please sign in to comment.