Skip to content

Commit

Permalink
Added version to plugin.xml
Browse files Browse the repository at this point in the history
automate updating version in plugin.xml
  • Loading branch information
contrext committed Mar 2, 2019
1 parent b5be62e commit 8d04fce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@
<include name="lib/*.jar"/>
</fileset>
</copy>
<replace encoding="utf-8"
file="${package.dir}/plugins/org.dita-community.i18n/plugin.xml"
token="^version^"
value="${version}"
/>

</target>

<target name="dist" depends="package">
Expand Down
2 changes: 1 addition & 1 deletion plugin/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<plugin id="org.dita-community.i18n" version="2.0.1">
<plugin id="org.dita-community.i18n" version="^version^">
<!-- This plugin provides general internationalization
facilities for locale-specific grouping, sorting, word breaking,
and line breaking as well as formatted text length estimation.
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2.0.0
version=2.0.1

0 comments on commit 8d04fce

Please sign in to comment.