assets/shell/bump-version.sh:main(): correctly update version in {index,assets/html/help}.html.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-11-26 10:46:53 +01:00
parent 3ed735c6b5
commit b9cd1c4b45

View File

@ -50,7 +50,7 @@ main() {
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \ rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
MiRCART-nw/package.json \ MiRCART-nw/package.json \
MiRCART-nw/package-lock.json; MiRCART-nw/package-lock.json;
rc sed -i"" '/<title>[^<]\+ v/s/\(<title>[^<]\+ v\)'"${_version_old}"'\(<\)/\1'"${_version_new}"'\2/' \ rc sed -i"" '/<title>[^<]\+ v/s/\(<title>[^<]\+ v\)'"${_version_old}"'\(.*<\)/\1'"${_version_new}"'\2/' \
index.html assets/html/help.html; index.html assets/html/help.html;
rc rsync -aiLPv --delete \ rc rsync -aiLPv --delete \
MiRCART-cordoba/www/ \ MiRCART-cordoba/www/ \