1
0
forked from adphi/occweb

Makefile: added make version

This commit is contained in:
Adphi 2020-02-01 15:10:33 +01:00
parent ad5306cf67
commit 6579503c63

View File

@ -161,3 +161,13 @@ test: composer
.PHONY: sign
sign:
@openssl dgst -sha512 -sign ~/.nextcloud/certificates/occweb.key build/artifacts/appstore/occweb.tar.gz |openssl base64
.PHONY: version
version:
@echo "Creating version v$(VERSION)"
@sed -i "s/<version>[0-9a-z.]\{1,\}<\/version>/<version>$(VERSION)<\/version>/g" appinfo/info.xml
@git tag v$(VERSION)
@git push origin v$(VERSION)
@make dist
@echo "\nRelease Signature: \n"
@make sign