Add version tag to dist file

This commit is contained in:
Jeroen De Meerleer 2019-06-20 13:17:12 +02:00
parent fab6086a0a
commit 0e87345e65
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -28,10 +28,10 @@ dist: ## Generates distribution
rm dist/composer.json rm dist/composer.json
rm dist/composer.lock rm dist/composer.lock
mv dist/composer-dist-installed.json dist/composer.json mv dist/composer-dist-installed.json dist/composer.json
VERSIONTAG=$(VERSION) doxygen 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-dist * cd dist && zip -r ../libpairtwo-$(VERSION)-dist *
git reset --hard HEAD^ git reset --hard HEAD^
mv res/composer* dist/ mv res/composer* dist/