From b9cd1c4b45c303aa2036f876340640bc72d449dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 26 Nov 2018 10:46:53 +0100 Subject: [PATCH] assets/shell/bump-version.sh:main(): correctly update version in {index,assets/html/help}.html. --- assets/shell/bump-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/shell/bump-version.sh b/assets/shell/bump-version.sh index ebedfdc..c4429ca 100755 --- a/assets/shell/bump-version.sh +++ b/assets/shell/bump-version.sh @@ -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"" '/[^<]\+ 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/ \