mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
publish git commit sha at /version.txt
This commit is contained in:
parent
f0b3174e61
commit
890b1508c1
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -6,10 +6,12 @@ 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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue