Add simple issue tracking system.
This commit is contained in:
9
doc/issues/new-issue.sh
Executable file
9
doc/issues/new-issue.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
id=$(cat next-issue-number.txt)
|
||||
printf "%03d" "$(expr $id + 1)" > next-issue-number.txt
|
||||
|
||||
printf "Title/Summary?\n> "
|
||||
read -r summary
|
||||
|
||||
slugSummary=$(echo "$summary" | tr "[:upper:]" "[:lower:]" | tr ' ' - )
|
||||
slugSummary="${slugSummary//.}"
|
||||
echo "### $summary" > "$id-$slugSummary.md"
|
||||
Reference in New Issue
Block a user