From 179b6b7c2d7609c4a66b86821efe67b5706f867f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 27 Aug 2019 08:01:35 +0200 Subject: [PATCH] assets/shell/bump-version.sh: removes MiRCART-cordoba support. --- assets/shell/bump-version.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/assets/shell/bump-version.sh b/assets/shell/bump-version.sh index c4429ca..b5f086a 100755 --- a/assets/shell/bump-version.sh +++ b/assets/shell/bump-version.sh @@ -36,26 +36,11 @@ main() { exit 1; fi; done; - rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \ - MiRCART-cordoba/config.xml; - rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \ - MiRCART-cordoba/package.json \ - MiRCART-cordoba/package-lock.json; - rc sed -i"" '/android:versionCode="/s/\(android:versionCode=\)"[0-9]\+"/\1"'"${_version_new_code}"'"/' \ - MiRCART-cordoba/platforms/android/app/src/main/AndroidManifest.xml; - rc sed -i"" '/android:versionName="/s/\(android:versionName=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \ - MiRCART-cordoba/platforms/android/app/src/main/AndroidManifest.xml; - rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \ - MiRCART-cordoba/platforms/android/app/src/main/res/xml/config.xml; 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/' \ index.html assets/html/help.html; - rc rsync -aiLPv --delete \ - MiRCART-cordoba/www/ \ - MiRCART-cordoba/platforms/android/app/src/main/assets/www/; - rc git add MiRCART-cordoba/platforms/android/app/src/main/assets/www; rc git commit -avm "Bump to v${_version_new}."; };