makefile: fix update_todo target/parse milestones
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user