Files
nomad/dev/hooks/pre-push
Alex Dadgar 25d1d2e80e Add a shared git hooks directory
This PR adds a place to share git hooks.
2017-08-17 10:55:53 -07:00

13 lines
195 B
Bash
Executable File

#!/bin/sh
if [ "$remote" == "enterprise" ]; then
exit 0
fi
if [ -f version/version_ent.go ]; then
echo "Found enterprise version file while pushing to oss remote"
exit 1
fi
exit 0