Skip to content

Commit

Permalink
releases: fix expected version for platform-suffix
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
  • Loading branch information
katexochen committed Sep 4, 2024
1 parent b09e3db commit 84397df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contrast-releases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ let
passthru.exists = (builtins.compareVersions "v0.8.0" version) <= 0;
};

# starting with version v0.10.0 all files has a platform-specific suffix.
# starting with version v1.1.0 all files has a platform-specific suffix.
platformSpecificFiles = builtins.listToAttrs (
lib.lists.map
(
platform:
lib.attrsets.nameValuePair platform {
exist = (builtins.compareVersions "v0.10.0" version) <= 0;
exist = (builtins.compareVersions "v1.1.0" version) <= 0;
coordinator = fetchurl {
inherit version;
url = "https://github.com/edgelesssys/contrast/releases/download/${version}/coordinator-${platform}.yml";
Expand Down

0 comments on commit 84397df

Please sign in to comment.