index/tools/precommit.sh

9 lines
91 B
Bash

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