anki/rslib/ftl/scripts/upload-latest-templates
2020-04-01 18:20:31 +10:00

13 lines
229 B
Bash
Executable File

#!/bin/bash
#
# expects to be run from the ftl folder
#
set -eu -o pipefail ${SHELLFLAGS}
test -d repo || exit 1
rsync -av --delete *.ftl repo/core/templates/
(cd repo && git add core; git commit -m update || true; git push)