You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xml_schemas/scripts/validate_examples_hook

10 lines
182 B

#!/bin/bash
branch=`git rev-parse --abbrev-ref HEAD`
script_dir="$(dirname "$(readlink -f "$0")")"
cd $script_dir
if [[ $branch == "master" ]]; then
./validate_examples
fi