mattermost: jump ESR versions (9.5.x → 9.11.x)
This commit is contained in:
parent
eaa25de128
commit
c3c7fe44de
1 changed files with 5 additions and 5 deletions
|
@ -12,13 +12,13 @@ buildGoModule rec {
|
|||
# See https://docs.mattermost.com/upgrade/extended-support-release.html
|
||||
# When a new ESR version is available (e.g. 8.1.x -> 9.5.x), update
|
||||
# the version regex in passthru.updateScript as well.
|
||||
version = "9.5.8";
|
||||
version = "9.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattermost";
|
||||
repo = "mattermost";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WK3O1t2mMqftH8EB12g1/xzQnnmJxSsBjaGrRk0Hypw=";
|
||||
hash = "sha256-Qs5/f2wltG7HRTOVxfS+6C9CP+NR475ix/4XHezKxIc=";
|
||||
};
|
||||
|
||||
# Needed because buildGoModule does not support go workspaces yet.
|
||||
|
@ -34,10 +34,10 @@ buildGoModule rec {
|
|||
|
||||
webapp = fetchurl {
|
||||
url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz";
|
||||
hash = "sha256-gUp/Y0hI3oZkyTnEvyNXtHtPx77MC5zz+Z4b0FdrsqM=";
|
||||
hash = "sha256-KT8hYVhjAvSluqnZ2IGX9RdCb8EqLtIyQuIKJkf+9No=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-TJCtgNf56A1U0EbV5gXjTro+YudVBRWiSZoBC3nJxnE=";
|
||||
vendorHash = "sha256-0rxLt2ODlGsC3z5qw7m7QsverKrTtWicnHep4+fDD3M=";
|
||||
|
||||
modRoot = "./server";
|
||||
preBuild = ''
|
||||
|
@ -70,7 +70,7 @@ buildGoModule rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "^v(9\.5\.([0-9.]+))" ];
|
||||
extraArgs = [ "--version-regex" "^v(9\.11\.([0-9.]+))" ];
|
||||
};
|
||||
tests.mattermost = nixosTests.mattermost;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue