Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 442 Bytes
commit = $(shell git rev-parse HEAD)
commit_short = $(shell git rev-parse --short HEAD)
comment = Build from $(shell git symbolic-ref --short HEAD)\#$(commit)
gulp build
gulp minify
cp -f affinity/
cp -f package.json affinity/package.json
echo $(comment) > affinity/.build
rm -f build/affinity-$(commit_short).zip
zip -9llrX build/affinity-$(commit_short).zip affinity
rm -rf build/*.zip
You can’t perform that action at this time.