chore: fix evaluation of releases for beta release
@@ -5,7 +5,7 @@ let
# versionMatch is `null` if `src.gitTag` is not of the right format like "1.23.456"
# and it's a list of matches like [ "1.23.456" ] when it is.
- versionMatches = builtins.match "([0-9]+\.[0-9]+\.[0-9]+)" src.gitTag;
+ versionMatches = builtins.match "([0-9]+\.[0-9]+\.[0-9]+(-beta\.[0-9]+)?)" src.gitTag;
releaseVersion = if versionMatches == null then "latest" else builtins.head versionMatches;
ci = import ./ci.nix { inherit src releaseVersion; };
