Update automakefortune.sh
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
|
|
||||||
|
# delete old tetosong repo and replace with updated one.
|
||||||
yes | rm -r tetosong
|
yes | rm -r tetosong
|
||||||
git clone git@github.com:eric5949/tetosong.git
|
git clone git@github.com:eric5949/tetosong.git
|
||||||
cd tetosong
|
cd tetosong
|
||||||
|
# update vocafortunes.
|
||||||
sh ./makefortune.sh -p Teto
|
sh ./makefortune.sh -p Teto
|
||||||
sh ./makefortune.sh -p Gumi
|
sh ./makefortune.sh -p Gumi
|
||||||
sh ./makefortune.sh -p Miku
|
sh ./makefortune.sh -p Miku
|
||||||
|
|
||||||
# create the fortune database from tetofortunes
|
# commit update
|
||||||
git add ./*
|
git add ./*
|
||||||
git commit -m "Update fortune files"
|
git commit -m "Automated update of fortune files"
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
|
|||||||
Reference in New Issue
Block a user