mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-02 10:15:55 +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
|
||||
@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:
|
||||
|
|
|
|||
|
|
@ -55,4 +55,5 @@ if [[ $ECHO -eq 1 ]]; then
|
|||
echo "$CMD"
|
||||
fi
|
||||
|
||||
cp .git/$(cat .git/HEAD | cut -d' ' -f2) www/version.txt
|
||||
$CMD
|
||||
|
|
|
|||
Loading…
Reference in a new issue