mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
assets/shell/bump-version.sh: removes MiRCART-cordoba support.
This commit is contained in:
parent
66fb77b9b5
commit
2578c80819
@ -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