fix publishing version.txt

This commit is contained in:
Sami Samhuri 2014-10-18 15:33:27 -07:00
parent 890b1508c1
commit 9028d805ae
2 changed files with 1 additions and 2 deletions

View file

@ -6,12 +6,10 @@ compile:
publish: compile
@echo
cp .git/$(cat .git/HEAD | cut -d' ' -f2) public/version.txt
./bin/publish.sh --delete
publish_beta: compile
@echo
cp .git/$(cat .git/HEAD | cut -d' ' -f2) public/version.txt
./bin/publish.sh --beta --delete
test_blog:

View file

@ -55,4 +55,5 @@ if [[ $ECHO -eq 1 ]]; then
echo "$CMD"
fi
cp .git/$(cat .git/HEAD | cut -d' ' -f2) www/version.txt
$CMD