mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
fix publishing version.txt
This commit is contained in:
parent
890b1508c1
commit
9028d805ae
2 changed files with 1 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -6,12 +6,10 @@ compile:
|
||||||
|
|
||||||
publish: compile
|
publish: compile
|
||||||
@echo
|
@echo
|
||||||
cp .git/$(cat .git/HEAD | cut -d' ' -f2) public/version.txt
|
|
||||||
./bin/publish.sh --delete
|
./bin/publish.sh --delete
|
||||||
|
|
||||||
publish_beta: compile
|
publish_beta: compile
|
||||||
@echo
|
@echo
|
||||||
cp .git/$(cat .git/HEAD | cut -d' ' -f2) public/version.txt
|
|
||||||
./bin/publish.sh --beta --delete
|
./bin/publish.sh --beta --delete
|
||||||
|
|
||||||
test_blog:
|
test_blog:
|
||||||
|
|
|
||||||
|
|
@ -55,4 +55,5 @@ if [[ $ECHO -eq 1 ]]; then
|
||||||
echo "$CMD"
|
echo "$CMD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cp .git/$(cat .git/HEAD | cut -d' ' -f2) www/version.txt
|
||||||
$CMD
|
$CMD
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue