JS: use ANT replace task to set $version

Needed make kotlin-test depend on the same version of kotlin
This commit is contained in:
Anton Bannykh
2017-11-09 14:56:47 +03:00
parent af784dcd47
commit 4d12426145
4 changed files with 9 additions and 7 deletions
+2 -3
View File
@@ -97,9 +97,8 @@
<actions/>
<npm command="version" dir="${package_deploy_dir}">
<arg value="@{version}"/>
</npm>
<replace file="${package_deploy_dir}/package.json" token="$version" value="@{version}" />
<npm command="publish" dir="${package_deploy_dir}">
<arg value="--//registry.npmjs.org/:_authToken=${kotlin.npmjs.auth.token}"/>
<arg value="--tag"/>