Skip to content

Commit 288c883

Browse files
committed
fixed GH packages publishing
1 parent 02bc50f commit 288c883

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ npmPublish {
147147
readme = project.file("README.npm.md")
148148
packages {
149149
named("js") {
150+
scope = "pokeapi"
150151
packageJson {
151152
description = "Promise based client for PokéAPI written in Kotlin"
152153
keywords = setOf("pokeapi", "pokemon", "api", "kotlin")
@@ -165,7 +166,7 @@ npmPublish {
165166
}
166167
}
167168
registries {
168-
npmjs { authToken = project.properties["npmPublishToken"]?.toString() }
169+
npmjs { authToken = project.properties["npmAccessToken"]?.toString() }
169170
github { authToken = project.properties["GitHubPackagesPassword"]?.toString() }
170171
}
171172
}
@@ -185,7 +186,7 @@ mavenPublishing {
185186
signAllPublications()
186187
pom {
187188
name = "PokeKotlin"
188-
description = "Kotlin client for The Pokémon API"
189+
description = "Kotlin client for PokéAPI"
189190
url = "https://pokeapi.github.io/pokekotlin/"
190191
licenses {
191192
license {

0 commit comments

Comments
 (0)