https://github.com/janesconference/KievII
Raw File
Tip revision: e687ac5288775d0cf9fe541fdf6fbba806a98465 authored by Cristiano Belloni on 29 November 2012, 14:46:02 UTC
No post-commit
Tip revision: e687ac5
pre-commit.sh
#!/bin/bash
git stash -q --keep-index
echo "pre-commit script generating a release dist"
grunt release
RESULT=$?
[ $RESULT -ne 0 ] && exit 1
echo "Adding the release files"
git add dist/
git status; echo -n Hit enter to continue...; read
git stash pop -q
exit 0
back to top