We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e278a9e commit 618a705Copy full SHA for 618a705
build.xml
@@ -11,8 +11,20 @@
11
<arg value="+%Y%m%d"/>
12
</exec>
13
14
+ <exec executable="git" outputproperty="count">
15
+ <arg value="rev-list"/>
16
+ <arg value="develop"/>
17
+ <arg value="--count"/>
18
+ </exec>
19
+
20
+ <exec executable="expr" outputproperty="code">
21
+ <arg value="${count}"/>
22
+ <arg value="+"/>
23
+ <arg value="20170000"/>
24
25
26
<property name="version.name" value="${tag}-${date}" />
- <property name="version.code" value="${date}" />
27
+ <property name="version.code" value="${code}" />
28
29
<!-- The local.properties file is created and updated by the 'android' tool.
30
It contains the path to the SDK. It should *NOT* be checked into
0 commit comments