makefile: fix update_todo target/parse milestones

This commit is contained in:
nodiscc
2021-03-22 19:55:49 +01:00
parent 58ae8d3b9f
commit c81cdbe315

View File

@@ -87,9 +87,9 @@ test_kvm_uefi:
# gitea-cli config defined in ~/.config/gitearc
update_todo:
git clone https://github.com/bashup/gitea-cli gitea-cli
-rm doc/md/TODO.md
echo '<!-- This file is automatically generated by "make update_todo" -->' > doc/md/TODO.md
./gitea-cli/bin/gitea issues zerodb/debian-live-config | jq -r '.[] | "- #\(.number) - \(.title)"' >> doc/md/TODO.md; \
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; \
rm -rf gitea-cli
doc: install_dev_docs doc_md doc_html