mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +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
|
VERSIONTAG=$(VERSION) doxygen
|
||||||
|
|
||||||
dist: ## Generates distribution
|
dist: ## Generates distribution
|
||||||
touch .libpairtwo-dist
|
|
||||||
git add .libpairtwo-dist
|
|
||||||
git commit -m "Commit before release"
|
|
||||||
cp dist/composer* res/
|
cp dist/composer* res/
|
||||||
mv dist/composer-dist.json dist/composer.json
|
mv dist/composer-dist.json dist/composer.json
|
||||||
cd dist && composer install
|
cd dist && composer install
|
||||||
@ -32,7 +29,7 @@ dist: ## Generates distribution
|
|||||||
mkdir -p dist/doc
|
mkdir -p dist/doc
|
||||||
cp -r doc/api dist/doc
|
cp -r doc/api dist/doc
|
||||||
cd dist && zip -r ../libpairtwo-$(VERSION)-dist.zip *
|
cd dist && zip -r ../libpairtwo-$(VERSION)-dist.zip *
|
||||||
git reset --hard HEAD^
|
git reset --hard HEAD
|
||||||
mv res/composer* dist/
|
mv res/composer* dist/
|
||||||
|
|
||||||
clean: clean-dist clean-dev
|
clean: clean-dist clean-dev
|
||||||
|
Loading…
Reference in New Issue
Block a user