assets/shell/bump-version.sh: removes MiRCART-cordoba support.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-08-27 08:01:35 +02:00
parent f63ee53191
commit 179b6b7c2d

View File

@ -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"" '/<title>[^<]\+ 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}.";
};