Files
lnreader-plugins/host.sh
T
Felipe Bonfim cadf7a72fe kiniga added (#739)
* kiniga added

* kiniga updated icon
2024-01-31 01:55:34 +07:00

21 lines
374 B
Bash
Executable File

current=`git rev-parse --abbrev-ref HEAD`
dist=dist
exists=`git show-ref refs/heads/$dist`
if [ -n "$exists" ]; then
git checkout $dist
else
git checkout -b $dist
fi
git merge $current --strategy-option theirs
npm run generate
npm run json
git add .
git add -f .dist .js/plugins
git commit -m "Update plugins host"
git push -f origin $dist
git checkout $current