JS: use ANT replace task to set $version
Needed make kotlin-test depend on the same version of kotlin
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kotlin-compiler",
|
"name": "kotlin-compiler",
|
||||||
"version": "0.0.0",
|
"version": "$version",
|
||||||
"description": "Kotlin compiler",
|
"description": "Kotlin compiler",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kotlin-test",
|
"name": "kotlin-test",
|
||||||
"version": "1.0.0",
|
"version": "$version",
|
||||||
"description": "Standard Testing Library for Kotlin Applications",
|
"description": "Standard Testing Library for Kotlin Applications",
|
||||||
"main": "kotlin-test.js",
|
"main": "kotlin-test.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -19,5 +19,8 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "kotl.in/issue"
|
"url": "kotl.in/issue"
|
||||||
},
|
},
|
||||||
"homepage": "kotlinlang.org"
|
"homepage": "kotlinlang.org",
|
||||||
|
"dependencies": {
|
||||||
|
"kotlin": "$version"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kotlin",
|
"name": "kotlin",
|
||||||
"version": "1.0.0",
|
"version": "$version",
|
||||||
"description": "Standard Library for Kotlin Applications",
|
"description": "Standard Library for Kotlin Applications",
|
||||||
"main": "kotlin.js",
|
"main": "kotlin.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
+2
-3
@@ -97,9 +97,8 @@
|
|||||||
|
|
||||||
<actions/>
|
<actions/>
|
||||||
|
|
||||||
<npm command="version" dir="${package_deploy_dir}">
|
<replace file="${package_deploy_dir}/package.json" token="$version" value="@{version}" />
|
||||||
<arg value="@{version}"/>
|
|
||||||
</npm>
|
|
||||||
<npm command="publish" dir="${package_deploy_dir}">
|
<npm command="publish" dir="${package_deploy_dir}">
|
||||||
<arg value="--//registry.npmjs.org/:_authToken=${kotlin.npmjs.auth.token}"/>
|
<arg value="--//registry.npmjs.org/:_authToken=${kotlin.npmjs.auth.token}"/>
|
||||||
<arg value="--tag"/>
|
<arg value="--tag"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user