Skip to content

Commit

Permalink
fix for allowing subgroups of a given staging profile
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarker committed Sep 28, 2018
1 parent 5b9caaa commit 3ab6568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalalib/src/mill/scalalib/publish/SonatypeHttpApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class SonatypeHttpApi(uri: String, credentials: String) {
ujson
.read(response.body)("data")
.arr
.find(profile => profile("name").str == groupId)
.find(profile => groupId.startsWith(profile("name").str))
.map(_("resourceURI").str.toString)

resourceUri.getOrElse(
Expand Down

0 comments on commit 3ab6568

Please sign in to comment.