From 72a47ca34940ce3db0a2c3c24cfa552d3848f2c2 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Tue, 6 Jun 2023 14:00:05 +0200 Subject: [PATCH] lemmy: 0.17.2 -> 0.17.3 --- pkgs/servers/web-apps/lemmy/package.json | 2 +- pkgs/servers/web-apps/lemmy/pin.json | 8 ++++---- pkgs/servers/web-apps/lemmy/update.sh | 3 ++- pkgs/top-level/all-packages.nix | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/web-apps/lemmy/package.json b/pkgs/servers/web-apps/lemmy/package.json index 5ba480ea5cf5..e774447f7caa 100644 --- a/pkgs/servers/web-apps/lemmy/package.json +++ b/pkgs/servers/web-apps/lemmy/package.json @@ -1,7 +1,7 @@ { "name": "lemmy-ui", "description": "An isomorphic UI for lemmy", - "version": "0.17.2", + "version": "0.17.3", "author": "Dessalines ", "license": "AGPL-3.0", "scripts": { diff --git a/pkgs/servers/web-apps/lemmy/pin.json b/pkgs/servers/web-apps/lemmy/pin.json index b2a1f1923ce6..5b7b9aa49a58 100644 --- a/pkgs/servers/web-apps/lemmy/pin.json +++ b/pkgs/servers/web-apps/lemmy/pin.json @@ -1,7 +1,7 @@ { - "version": "0.17.2", - "serverSha256": "sha256-fkpMVm52XLyrk9RfzJpthT8fctIilawAIgfK+4TXHvU=", - "serverCargoSha256": "sha256-AC6EP612uaeGfqHbrHrz89h0tsNlMceEg6GxEsm1QMA=", - "uiSha256": "sha256-0Zhm6Jgc6rlN4c7ryRnR45+fZEdzQhuOXSwU8Wz0D5g=", + "version": "0.17.3", + "serverSha256": "sha256-BOYJQLxamzfHKzfbzJEL3BEwPAlJegc+BBi0eSxuTW4=", + "serverCargoSha256": "sha256-gYWcaSIPR8FXk6blzEnuN27v5fushwk4LJEl6g3W+W8=", + "uiSha256": "sha256-MsQjfX0hS1eZMQql7xWQZKAM2H4EzbbLKZcAw4mfiCE=", "uiYarnDepsSha256": "sha256-aZAclSaFZJvuK+FpCBWboGaVEOEJTxq2jnWk0A6iAFw=" } diff --git a/pkgs/servers/web-apps/lemmy/update.sh b/pkgs/servers/web-apps/lemmy/update.sh index a2657025a0e2..6b18221e2672 100755 --- a/pkgs/servers/web-apps/lemmy/update.sh +++ b/pkgs/servers/web-apps/lemmy/update.sh @@ -14,7 +14,8 @@ const latest_rev = $(curl -q https://api.github.com/repos/${owner}/${server_repo jq -r '.tag_name') const latest_version = $(echo $latest_rev) const current_version = $(jq -r '.version' $directory/pin.json) -if (latest_version === $current_version) { +echo "latest version: $latest_version, current version: $current_version" +if ("$latest_version" === "$current_version") { echo "lemmy is already up-to-date" return 0 } else { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dfb7014ba022..273b2ba6f35d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25657,7 +25657,7 @@ with pkgs; }; lemmy-ui = callPackage ../servers/web-apps/lemmy/ui.nix { - nodejs = nodejs_14; + nodejs = nodejs_18; }; lightgbm = callPackage ../development/libraries/lightgbm { };