https://github.com/janesconference/KievII
Raw File
Tip revision: e4a6d44f121bbcd1b07683f692d553e96fedf9d2 authored by Cristiano Belloni on 25 September 2013, 16:41:59 UTC
Preparing for release 0.6.0
Tip revision: e4a6d44
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