Ignoring dists wtih version tag

Follow up to edca4158487e8c15118abeb0c79a1c57661049bf
This commit is contained in:
Jeroen De Meerleer 2019-06-20 13:28:49 +02:00
parent 007a4a3ab6
commit 2d8723d3e6
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -8,7 +8,7 @@ composer.lock
/.idea /.idea
/doc/api/* /doc/api/*
/libpairtwo-dist.zip /libpairtwo-*-dist.zip
/dist/vendor/ /dist/vendor/
/dist/composer.json /dist/composer.json

View File

@ -31,7 +31,7 @@ dist: ## Generates distribution
make api make api
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 * cd dist && zip -r ../libpairtwo-$(VERSION)-dist.zip *
git reset --hard HEAD^ git reset --hard HEAD^
mv res/composer* dist/ mv res/composer* dist/