mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-04 10:35:46 +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
|
||||
@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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue