mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-25 08:36:38 +00:00
Bump to v1.0.6.
This commit is contained in:
parent
114ec3fb19
commit
48ce316417
@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.lalbornoz.asciiblaster" version="1.0.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.lalbornoz.asciiblaster" version="1.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<author email="lucio@lucioillanes.de" href="https://github.com/lalbornoz/asciiblaster#readme">
|
<author email="lucio@lucioillanes.de" href="https://github.com/lalbornoz/asciiblaster#readme">
|
||||||
Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA
|
Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>, based on work by JOLLO NET NA
|
||||||
</author>
|
</author>
|
||||||
|
2
asciiblaster-cordoba/package-lock.json
generated
2
asciiblaster-cordoba/package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "asciiblaster-cordoba",
|
"name": "asciiblaster-cordoba",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -30,5 +30,5 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"version": "1.0.5"
|
"version": "1.0.6"
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<manifest android:hardwareAccelerated="true" android:versionCode="10003" android:versionName="1.0.3" package="com.lalbornoz.asciiblaster" xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest android:hardwareAccelerated="true" android:versionCode="10006" android:versionName="1.0.6" package="com.lalbornoz.asciiblaster" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
|
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
|
||||||
|
@ -15,7 +15,7 @@ usage() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
local _opt="" _version_new="" _version_old="";
|
local _opt="" _version_new="" _version_new_code="" _version_old="";
|
||||||
while getopts hv _opt; do
|
while getopts hv _opt; do
|
||||||
case "${_opt}" in
|
case "${_opt}" in
|
||||||
h) usage; exit 0; ;;
|
h) usage; exit 0; ;;
|
||||||
@ -28,6 +28,7 @@ main() {
|
|||||||
echo "error: empty or missing new version number argument" >&2; usage; exit 1;
|
echo "error: empty or missing new version number argument" >&2; usage; exit 1;
|
||||||
else
|
else
|
||||||
_version_old="${1}"; _version_new="${2}";
|
_version_old="${1}"; _version_new="${2}";
|
||||||
|
_version_new_code="$(echo "${_version_new}" | sed -e 's,\.,,g' -e 's/^[0-9]/&00/')";
|
||||||
fi;
|
fi;
|
||||||
for _cmd in ${RELEASE_DEPS_CMD}; do
|
for _cmd in ${RELEASE_DEPS_CMD}; do
|
||||||
if ! which "${_cmd}" >/dev/null; then
|
if ! which "${_cmd}" >/dev/null; then
|
||||||
@ -35,17 +36,24 @@ main() {
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
asciiblaster-cordoba/package.json \
|
|
||||||
asciiblaster-cordoba/package-lock.json \
|
|
||||||
asciiblaster-nw/package.json \
|
|
||||||
asciiblaster-nw/package-lock.json;
|
|
||||||
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
|
||||||
asciiblaster-cordoba/config.xml;
|
asciiblaster-cordoba/config.xml;
|
||||||
rc sed -i"" '/<title>[^<]\+ v/s/\(<title>[^<]\+ v\)'"${_version_old}"'\(<\)/\1'"${_version_new}"'\2/' \
|
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
|
asciiblaster-cordoba/package.json \
|
||||||
|
asciiblaster-cordoba/package-lock.json;
|
||||||
|
rc sed -i"" '/android:versionCode="/s/\(android:versionCode=\)"[0-9]\+"/\1"'"${_version_new_code}"'"/' \
|
||||||
|
asciiblaster-cordoba/platforms/android/app/src/main/AndroidManifest.xml;
|
||||||
|
rc sed -i"" '/android:versionName="/s/\(android:versionName=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
|
asciiblaster-cordoba/platforms/android/app/src/main/AndroidManifest.xml;
|
||||||
|
rc sed -i"" '/version="/s/\(version=\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
|
asciiblaster-cordoba/platforms/android/app/src/main/res/xml/config.xml;
|
||||||
|
rc sed -i"" '/"version":/s/\("version":\s*\)"'"${_version_old}"'"/\1"'"${_version_new}"'"/' \
|
||||||
|
asciiblaster-nw/package.json \
|
||||||
|
asciiblaster-nw/package-lock.json;
|
||||||
|
rc sed -i"" '/<title>[^<]\+ v/s/\(<title>[^<]\+ v\)'"${_version_old}"'\(<\)/\1'"${_version_new}"'\2/' \
|
||||||
index.html;
|
index.html;
|
||||||
rc rsync -aiLPv --delete \
|
rc rsync -aiLPv --delete \
|
||||||
asciiblaster-cordoba/www/ \
|
asciiblaster-cordoba/www/ \
|
||||||
asciiblaster-cordoba/platforms/android/app/src/main/assets/www/;
|
asciiblaster-cordoba/platforms/android/app/src/main/assets/www/;
|
||||||
rc git add asciiblaster-cordoba/platforms/android/app/src/main/assets/www;
|
rc git add asciiblaster-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}.";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>asciiblaster v1.0.5</title>
|
<title>asciiblaster v1.0.6</title>
|
||||||
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=yes" />
|
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=yes" />
|
||||||
<link rel="stylesheet" href="assets/css/sally.css" type="text/css" charset="utf-8" />
|
<link rel="stylesheet" href="assets/css/sally.css" type="text/css" charset="utf-8" />
|
||||||
<link rel="stylesheet" href="assets/css/ak.css" type="text/css" charset="utf-8" />
|
<link rel="stylesheet" href="assets/css/ak.css" type="text/css" charset="utf-8" />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.lalbornoz.asciiblaster" version="1.0.3" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.lalbornoz.asciiblaster" version="1.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<feature name="Whitelist">
|
<feature name="Whitelist">
|
||||||
<param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin" />
|
<param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin" />
|
||||||
<param name="onload" value="true" />
|
<param name="onload" value="true" />
|
||||||
|
2
asciiblaster-nw/package-lock.json
generated
2
asciiblaster-nw/package-lock.json
generated
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "asciiblaster",
|
"name": "asciiblaster",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"window": {
|
"window": {
|
||||||
"title": "asciiblaster (standalone NW app)",
|
"title": "asciiblaster (standalone NW app)",
|
||||||
"toolbar": true,
|
"toolbar": true,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>asciiblaster v1.0.5</title>
|
<title>asciiblaster v1.0.6</title>
|
||||||
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=yes" />
|
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=yes" />
|
||||||
<link rel="stylesheet" href="assets/css/sally.css" type="text/css" charset="utf-8" />
|
<link rel="stylesheet" href="assets/css/sally.css" type="text/css" charset="utf-8" />
|
||||||
<link rel="stylesheet" href="assets/css/ak.css" type="text/css" charset="utf-8" />
|
<link rel="stylesheet" href="assets/css/ak.css" type="text/css" charset="utf-8" />
|
||||||
|
Loading…
Reference in New Issue
Block a user