Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Cesium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Cesium-grp
Cesium
Commits
e299f601
Commit
e299f601
authored
7 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
release v0.12.8
[fix] fix release script version regexp
parent
f1eaa893
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
config.xml
+6
-1
6 additions, 1 deletion
config.xml
release.sh
+4
-2
4 additions, 2 deletions
release.sh
www/index.html
+0
-1
0 additions, 1 deletion
www/index.html
www/templates/menu.html
+3
-1
3 additions, 1 deletion
www/templates/menu.html
with
13 additions
and
5 deletions
config.xml
+
6
−
1
View file @
e299f601
<?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
...
...
This diff is collapsed.
Click to expand it.
release.sh
+
4
−
2
View file @
e299f601
...
...
@@ -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
-
o
P
"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
-
o
P
"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
"**********************************"
...
...
This diff is collapsed.
Click to expand it.
www/index.html
+
0
−
1
View file @
e299f601
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
www/templates/menu.html
+
3
−
1
View file @
e299f601
...
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment