tools: setversion: also update hledger-ui's version

This commit is contained in:
Simon Michael 2015-10-30 13:24:20 -07:00
parent fbfa725197
commit 9caf21f13b

View File

@ -1165,6 +1165,12 @@ hledger/package.yaml: $(VERSIONFILE) \
perl -p -e "s/(hledger(-lib)? *[>=]= *).*/\$${1}$(VERSION)/" -i $@
perl -p -e "s/(-DVERSION=\")[^\"]+/\$${1}$(VERSION)/" -i $@
hledger-ui/package.yaml: $(VERSIONFILE) \
$(call def-help-hide,hledger-ui/package.yaml, update the version in this file )
perl -p -e "s/(^version *: *).*/\$${1}'$(VERSION)'/" -i $@
perl -p -e "s/(hledger(-lib|-ui)? *[>=]= *).*/\$${1}$(VERSION)/" -i $@
perl -p -e "s/(-DVERSION=\")[^\"]+/\$${1}$(VERSION)/" -i $@
hledger-web/package.yaml: $(VERSIONFILE) \
$(call def-help-hide,hledger-web/package.yaml, update the version in this file )
perl -p -e "s/(^version *: *).*/\$${1}'$(VERSION)'/" -i $@