Allow publishing via pre-commit hook