mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 15:31:00 +01:00
No commit before creating dist
This commit is contained in:
parent
ec74c0940e
commit
9ea711ad66
5
Makefile
5
Makefile
@ -19,9 +19,6 @@ api: ## Generates api-docs
|
||||
VERSIONTAG=$(VERSION) doxygen
|
||||
|
||||
dist: ## Generates distribution
|
||||
touch .libpairtwo-dist
|
||||
git add .libpairtwo-dist
|
||||
git commit -m "Commit before release"
|
||||
cp dist/composer* res/
|
||||
mv dist/composer-dist.json dist/composer.json
|
||||
cd dist && composer install
|
||||
@ -32,7 +29,7 @@ dist: ## Generates distribution
|
||||
mkdir -p dist/doc
|
||||
cp -r doc/api dist/doc
|
||||
cd dist && zip -r ../libpairtwo-$(VERSION)-dist.zip *
|
||||
git reset --hard HEAD^
|
||||
git reset --hard HEAD
|
||||
mv res/composer* dist/
|
||||
|
||||
clean: clean-dist clean-dev
|
||||
|
Loading…
Reference in New Issue
Block a user