aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-02-16 04:57:49 +0000
committergarret <garret@airmail.cc>2023-02-16 04:57:49 +0000
commitad768134264b827ff20f1453e11c1074479ea352 (patch)
tree1264f041c7d734e100b44539b0f6e6abe8d66c96
parentb5beff676f7d2653fd68401728aea88400701174 (diff)
downloaddepctrl-feedmaker-ad768134264b827ff20f1453e11c1074479ea352.tar.gz
depctrl-feedmaker-ad768134264b827ff20f1453e11c1074479ea352.tar.bz2
depctrl-feedmaker-ad768134264b827ff20f1453e11c1074479ea352.zip
add changelog support
-rwxr-xr-xmake-feed.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-feed.lua b/make-feed.lua
index 534ce28..e4995fa 100755
--- a/make-feed.lua
+++ b/make-feed.lua
@@ -180,6 +180,7 @@ local function get_macro_metadata(file)
meta.version = script_version
meta.author = script_author
meta.namespace = script_namespace
+ meta.changelog = script_changelog
meta.depctrl = __feedmaker_version
return meta
end
@@ -221,7 +222,7 @@ local function clean_depctrl(depctrl)
end
local function get_feed_entry(script, fileBaseUrl)
- local macro = {url = config.scriptUrl, author = script.author, name = script.name, description = script.description, channels = {}}
+ local macro = {url = config.scriptUrl, author = script.author, name = script.name, description = script.description, changelog = script.changelog, channels = {}}
local channel_info = {version = script.version, released = script.release, default = true, files = {}}
local requiredModules, feeds = clean_depctrl(script.depctrl)