Skip to content

Commit

Permalink
[Build] Create target for sis renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
artem78 committed Dec 6, 2023
1 parent 8d04964 commit bce9d9f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,15 @@
excludes="**/.mailmap" level="9"/><!-- note: git dirs and files will be excluded by default -->
<delete dir="${temp_dir}" />
</target>

<target name="rename_sis">
<property name="sis_dir" location="sis/" />
<exec executable="git" outputproperty="version">
<arg value="describe"/>
<arg value="--dirty"/>
</exec>
<echo>Current version: ${version}</echo>
<copy file="${sis_dir}/S60Maps.sis" tofile="${sis_dir}/S60Maps_${version}.sis" overwrite="true" />
<copy file="${sis_dir}/S60Maps.sisx" tofile="${sis_dir}/S60Maps_${version}.sisx" overwrite="true" />
</target>
</project>

0 comments on commit bce9d9f

Please sign in to comment.