summaryrefslogtreecommitdiffhomepage
path: root/scripts/utils/localization_utils
blob: ff4031edcb5e2facea93bfb72e7084f6a8e34740 (plain)
1
2
3
4
5
6
7
8
9
function commit_changes {
  if ! git diff-index --quiet HEAD --; then
    git commit -a -S -m "$1"
  fi
}

function ensure_crowdin_api_key {
  test ! -z "$CROWDIN_API_KEY"
}