Unverified Commit 51b0d783 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

mattermost-desktop: fix version matching in the update script (#380935)

parents c086623a c1840294
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -86,7 +86,9 @@ buildNpmPackage rec {
      # Invoking with `--version` insists on being able to write to a log file.
      command = "env HOME=/tmp ${meta.mainProgram} --version";
    };
    updateScript = nix-update-script { };
    updateScript = nix-update-script {
      extraArgs = [ "--version-regex=^(\\d+\\.\\d+\\.\\d+)$" ];
    };
  };

  meta = {