makefile: update_todo: output gitea issue tags to TODO.md

- run make update_todo
This commit is contained in:
nodiscc
2021-10-25 19:01:12 +02:00
parent b28480839c
commit 8a258f9403
2 changed files with 51 additions and 54 deletions

View File

@@ -95,7 +95,7 @@ update_todo:
git clone https://github.com/bashup/gitea-cli gitea-cli
echo '<!-- This file is automatically generated by "make update_todo" -->' >| doc/md/TODO.md
echo -e "\n### nodiscc/debian-live-config\n" >> doc/md/TODO.md; \
./gitea-cli/bin/gitea issues baron/debian-live-config | jq -r '.[] | "- #\(.number) - \(.title) - `\(.milestone.title)`"' | sed 's/ - `null`//' >> doc/md/TODO.md; \
./gitea-cli/bin/gitea issues baron/debian-live-config | jq -r '.[] | "- #\(.number) - \(.title) - **`\(.milestone.title // "-")`** `\(.labels | map(.name) | join(","))`"' | sed 's/ - `null`//' >> doc/md/TODO.md; \
rm -rf gitea-cli
doc: install_dev_docs doc_md doc_html