13 lines
229 B
Bash
Executable File
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)
|
|
|