Fix build scripts
This commit is contained in:
parent
93af937d89
commit
92e07d2fad
2 changed files with 10 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
</target>
|
||||
|
||||
<target name="-version" if="build.version">
|
||||
<replace file="src/net/osmand/Version.java" token="String APP_DESCRIPTION" value="String APP_DESCRIPTION="${build.version}";//"/>
|
||||
<replace file="src/net/osmand/MapCreatorVersion.java" token="String APP_DESCRIPTION" value="String APP_DESCRIPTION="${build.version}";//"/>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
|
|
|
@ -105,6 +105,14 @@
|
|||
<replaceregexp file="res/values/no_translate.xml" match='"app_name">(.*)<' replace='"app_name">Osmand+<' byline="true" />
|
||||
</else>
|
||||
</if>
|
||||
<if>
|
||||
<condition>
|
||||
<isset property="build.version" />
|
||||
</condition>
|
||||
<then>
|
||||
<replaceregexp file="res/values/no_translate.xml" match='"app_version">(.*)<' replace='"app_version">${build.version} alpha<' byline="true" />
|
||||
</then>
|
||||
</if>
|
||||
</target>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue