overleaf/services/web/bin/push-translations-changes.sh
Jakob Ackermann fa594e575b Merge pull request #3113 from overleaf/jpa-translations-mono-repo
[misc] mono repo with translations

GitOrigin-RevId: 1ed86d211f6a2031aafc3e7462687af0e957f9fd
2020-08-19 02:06:08 +00:00

10 lines
199 B
Bash
Executable file

#!/bin/bash
set -e
if [[ `git status --porcelain=2 locales/` ]]; then
git add locales/*
git commit -m "auto update translation"
git push $UPSTREAM_REPO HEAD:master
else
echo 'No changes'
fi