mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: setversion: also update hledger-ui's version
This commit is contained in:
parent
fbfa725197
commit
9caf21f13b
6
Makefile
6
Makefile
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user