Commit b0aeb961 authored by Benoit Lavenier's avatar Benoit Lavenier

fix release version changes

+ add missing resources files
parent 454cb91f
......@@ -22,10 +22,10 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
echo "new build android version: $3"
case "$1" in
rel|pre)
# Change the version in package.json and test file
sed -i "s/version\": \"$current/version\": \"$2/g" package.json
sed -i "s/ version=\".*\"/ version=\"$2\"/g" config.xml
sed -i "s/ android-versionCode=\".*\"/ android-versionCode=\"$3\"/g" config.xml
# Change the version in package.json and test file
sed -i "s/version\": \"$current\"/version\": \"$2\"/g" package.json
sed -i "s/ version=\"[^\"]+\"/ version=\"$2\"/g" config.xml
sed -i "s/ android-versionCode=\"[^\"]+\"/ android-versionCode=\"$3\"/g" config.xml
# Bump the install.sh
sed -i "s/echo \"v.*\" #lastest/echo \"v$2\" #lastest/g" install.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment