Skip to content
Snippets Groups Projects
Commit e299f601 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

release v0.12.8

[fix] fix release script version regexp
parent f1eaa893
No related branches found
No related tags found
No related merge requests found
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="12800" id="fr.duniter.cesium" version="0.12.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget
android-versionCode="12800"
id="fr.duniter.cesium"
version="0.12.8"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Cesium</name>
<description>
An simple App for Duniter wallet
......
......@@ -11,12 +11,13 @@ fi
DIRNAME=`pwd`
### Releasing
current=`grep -P "version\": \"\d+.\d+.\d+(\w*)" package.json | grep -oP "\d+.\d+.\d+(\w*)"`
current=`grep -oP "version\": \"\d+.\d+.\d+((a|b)[0-9]+)?" package.json | grep -oP "\d+.\d+.\d+((a|b)[0-9]+)?"`
echo "Current version: $current"
currentAndroid=`grep -P "android-versionCode=\"\d+\"" config.xml | grep -oP "\d+"`
currentAndroid=`grep -oP "android-versionCode=\"[0-9]+\"" config.xml | grep -oP "\d+"`
echo "Current Android version: $currentAndroid"
if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
echo "new build version: $2"
echo "new build android version: $3"
case "$1" in
......@@ -55,6 +56,7 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
git tag "v$2"
git push
echo "**********************************"
echo "* Build release succeed !"
echo "**********************************"
......
......@@ -116,7 +116,6 @@
<script src="dist/dist_js/app/controllers/wot-controllers.js"></script>
<script src="dist/dist_js/app/controllers/network-controllers.js"></script>
<script src="dist/dist_js/app/controllers/currency-controllers.js"></script>
<script src="dist/dist_js/app/controllers/currency-charts-controllers.js"></script>
<script src="dist/dist_js/app/controllers/transfer-controllers.js"></script>
<script src="dist/dist_js/app/controllers/settings-controllers.js"></script>
<script src="dist/dist_js/app/controllers/blockchain-controllers.js"></script>
......
......@@ -39,7 +39,9 @@
width="225">
<ion-header-bar>
<h1 class="title dark hidden-sm hidden-xs" >
{{'MENU.TITLE'|translate}} <ng-if ng-if="$root.currency">{{$root.currency.name|currencySymbol:false }}</ng-if>
<span class="animate-fade-in animate-show-hide ng-hide" ng-show="$root.currency.name">
{{'MENU.TITLE'|translate}} {{$root.currency.name|currencySymbol:false }}
</span>
</h1>
<div class="visible-sm visible-xs hero">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment