From 28f1352c06491edb11df543db4821627acc8539c Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Sun, 4 Feb 2024 22:16:50 +0100 Subject: [PATCH 1/2] Update manifest.toml Add source and latest_github_release strategy --- manifest.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifest.toml b/manifest.toml index 724cb31..1080514 100644 --- a/manifest.toml +++ b/manifest.toml @@ -53,6 +53,13 @@ ram.runtime = "50M" [resources.ports] + [resources.sources] + + [resources.sources.main] + url = "https://github.com/n8n-io/n8n/archive/refs/tags/n8n@1.9.3.zip" + sha256 = "53114a7817f319bfc065566cd77ae889aacb2f2ffd8283f905292a31e19d41e1" + autoupdate.strategy = "latest_github_release" + [resources.system_user] allow_email = true From 8259bf5b0481da205572bd3442ba18fd5c652e42 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Sat, 30 Mar 2024 12:17:30 -0500 Subject: [PATCH 2/2] Update manifest.toml Don't prefetch source, add autoupdate regex, add comment for updating --- manifest.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1080514..ccd942c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -54,11 +54,15 @@ ram.runtime = "50M" [resources.ports] [resources.sources] - + + # Source is only added for autoupdate, it's not actually being downloaded + # For updating version n8n version needs to be updated in `_common.sh` [resources.sources.main] url = "https://github.com/n8n-io/n8n/archive/refs/tags/n8n@1.9.3.zip" sha256 = "53114a7817f319bfc065566cd77ae889aacb2f2ffd8283f905292a31e19d41e1" autoupdate.strategy = "latest_github_release" + autoupdate.version_regex = "^n8n@(.*)$" + prefetch = false [resources.system_user] allow_email = true