anki/qt/ftl/scripts/upload-latest-templates
2020-02-23 18:00:13 +10:00

10 lines
191 B
Bash
Executable File

#!/bin/bash
#
# expects to be run from the ftl folder
#
test -d repo || exit 1
rsync -av --delete *.ftl repo/desktop/templates/
(cd repo && git add desktop; git commit -m update; git push)