-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publishing to subgroups #440
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I may have identified a bug, though as always, more likely a user error. When the org/groupId is set to
w.x.y.z
in thebuild.sc
file and I own the groupIdw.x.y
on Maven/Sontatype/whatever.I'm getting this error now:
Could not find staging profile for groupId: edu.cornell.ncrn.ced2ar
. I've uploaded to this groupId before using maven/pom, but the issue might be that the top level groupId associated with the profile is actually just edu.cornell.ncrn.So I thought on this line ( https:/lihaoyi/mill/blob/master/scalalib/src/mill/scalalib/publish/SonatypeHttpApi.scala#L39 ), maybe it should be checking that profile("name").str is a substring of groupId (rather than equal to it). But I tested it out locally (hopefully correctly using mill/out/dev/launcher/dest/run) using the change
.find(profile => profile("name").str.startsWith(groupId)
and got the same error. So, I'm not sure what to investigate next.The text was updated successfully, but these errors were encountered: