mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: add version to name, compress source code
This commit is contained in:
parent
5af875185b
commit
568edc9cba
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -15,9 +15,13 @@ upload-for-analytics:
|
|||
|
||||
compress:
|
||||
rm -f dist/gitako.zip
|
||||
cd dist && zip -r gitako.zip * -x *.map
|
||||
cd dist && zip -r gitako-$(FULL_VERSION).zip * -x *.map -x *.DS_Store
|
||||
|
||||
release:
|
||||
$(MAKE) build
|
||||
$(MAKE) upload-for-analytics
|
||||
$(MAKE) compress
|
||||
$(MAKE) compress-source
|
||||
|
||||
compress-source:
|
||||
git archive -o dist/source-$(FULL_VERSION).zip HEAD
|
||||
|
|
|
|||
Loading…
Reference in a new issue