aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-04-21 13:36:37 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-04-21 13:36:37 -0400
commit96fb73fccce46260b2ba88c9f45c87dc165c6374 (patch)
tree52618ed48cb5e3c405478c33cbdd34af594b0a3d
parent9b97b06d3849a7a95f2f8b2dcd74906b144011a8 (diff)
downloadlite-xl-plugins-96fb73fccce46260b2ba88c9f45c87dc165c6374.tar.gz
lite-xl-plugins-96fb73fccce46260b2ba88c9f45c87dc165c6374.zip
Removed names from README.md.
-rw-r--r--.github/workflows/workflow.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index e3c1ccc..273a514 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -15,12 +15,13 @@ jobs:
# Remove everything after the --- so we can regenerate it.
perl -pi -e 'exit(0) if $_ =~ m/^\-\-\-/' README.md && echo -e "---" >> README.md
echo -e "\n## Plugins\n" >> README.md
+ export TABLE_COLUMNS='{{string.format("[`%s`](%s)", addon.id, (addon.extra and addon.extra.url or addon.url)) .. ((addon.extra and addon.extra.url or addon.url:find("http")) and "*" or "")}},description'
./lpm-latest init . --userdir .
- ./lpm-latest list --table url,description --header Plugin,Description --type plugin --tag '!language' --status '!core' --userdir . >> README.md
+ ./lpm-latest list --table "$TABLE_COLUMNS" --header Plugin,Description --type plugin --tag '!language' --status '!core' --userdir . >> README.md
echo -e "\n## Languages\n" >> README.md
- ./lpm-latest list --table url,description --header Language,Description --type plugin --tag 'language' --userdir . >> README.md
+ ./lpm-latest list --table "$TABLE_COLUMNS" --header Language,Description --type plugin --tag 'language' --userdir . >> README.md
echo -e "\n## Libraries\n" >> README.md
- ./lpm-latest list --table url,description --header Library,Description --type library --userdir . >> README.md
+ ./lpm-latest list --table "$TABLE_COLUMNS" --header Library,Description --type library --userdir . >> README.md
./lpm-latest exec 'common.write("manifest.json", json.encode(json.decode(common.read("manifest.json")), { pretty = true }) .. "\n")' --userdir .
./lpm-latest purge --userdir .
if ! git diff --exit-code -s README.md manifest.json; then