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 3b981c3a34
commit 1218de3bdf
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ main() {
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
MiRCART-nw/package.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;
rc rsync -aiLPv --delete \
MiRCART-cordoba/www/ \