Skip to content

Commit

Permalink
Add version.txt with filtere enabled
Browse files Browse the repository at this point in the history
Fixes wso2#100
  • Loading branch information
Nirothipan committed Apr 20, 2019
1 parent 32c9ea5 commit 703e78e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions distribution/src/assembly/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
<exclude>**/*.bat</exclude>
<exclude>**/wrapper.conf</exclude>
<exclude>build.xml</exclude>
<exclude>version.txt</exclude>
</excludes>
</fileSet>

Expand Down Expand Up @@ -354,6 +355,13 @@
</fileSets>

<files>
<file>
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
<outputDirectory>wso2mi-${pom.version}/bin/</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>

<file>
<source>src/conf/wrapper.conf</source>
<outputDirectory>wso2mi-${pom.version}/bin/yajsw</outputDirectory>
Expand Down

0 comments on commit 703e78e

Please sign in to comment.