Makefile: added make version
This commit is contained in:
parent
ad5306cf67
commit
6579503c63
10
Makefile
10
Makefile
@ -161,3 +161,13 @@ test: composer
|
|||||||
.PHONY: sign
|
.PHONY: sign
|
||||||
sign:
|
sign:
|
||||||
@openssl dgst -sha512 -sign ~/.nextcloud/certificates/occweb.key build/artifacts/appstore/occweb.tar.gz |openssl base64
|
@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
|
||||||
|
Loading…
Reference in New Issue
Block a user