index/tools/precommit.sh

9 lines
91 B
Bash
Executable file

#!/bin/sh
pushd .
cd $(dirname "$0")
php update-headers.php
php update-version.php
popd