mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-23 21:06:37 +00:00
assets/shell/bump-version.sh: removes MiRCART-cordoba support.
This commit is contained in:
parent
f63ee53191
commit
179b6b7c2d
@ -36,26 +36,11 @@ main() {
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
done;
|
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}"'"/' \
|
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 \
|
|
||||||
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}.";
|
rc git commit -avm "Bump to v${_version_new}.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user