Fix for npm publishing configuration

This reverts commit 0188cd5330.
Turns out it's not a url after all
This commit is contained in:
Shagen Ogandzhanian
2019-03-01 15:44:18 +01:00
parent 2a940f5b0a
commit ed4e93cc98
+1 -1
View File
@@ -49,7 +49,7 @@ fun Project.createPublishToNpmTask(templateName: String): NpmTask {
val deployDir = File("$deployDir/$templateName")
setWorkingDir(deployDir)
val deployArgs = listOf("publish", "https://registry.npmjs.org/:_authToken=$authToken", "--tag=$deployTag")
val deployArgs = listOf("publish", "--//registry.npmjs.org/:_authToken=$authToken", "--tag=$deployTag")
if (dryRun == "true") {
println("$deployDir \$ npm arguments: $deployArgs");
setArgs(listOf("pack"))