-
Notifications
You must be signed in to change notification settings - Fork 49
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 via the Central Portal #721
Comments
Thanks for trying this!
How do you know that it didn't work? Are there logs or some kind of error message?
How did you try to set it? can you share your |
For the record, sbt-sonatype 3.11.0 should support the new API: xerial/sbt-sonatype#474 (issue: xerial/sbt-sonatype#465) and sbt-typelevel uses that in 0.7.2. |
As @kubukoz mentioned, I get the following error:
|
FYI, I've tried 👇🏽 addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.2-8-ce3d86e-SNAPSHOT") and works! 🎉 Thanks @kubukoz! (beware that, for the moment, publishing snapshots is not supported and your CI will fail). |
@aartigao did you identify where the problem with snapshots comes from? |
If I read correctly it's just that it is not supported yet by SBT Sonatype. |
It works well with Thanks to you guys, and thanks to @kubukoz for fixing this so quickly! With It still uses the default host:
Is this expected? |
I think the above problem is related to the following code: sbt-typelevel/sonatype/src/main/scala/org/typelevel/sbt/TypelevelSonatypePlugin.scala Lines 62 to 69 in 626ef87
|
@m3is0 Yes, it's a scoping problem. Originally, sbt-sonatype required that |
Thanks @armanbilge ! |
The |
@kubukoz we need to fix one more thing before we can release: |
Since recently, all new Sonatype accounts must publish via the Central Portal:
https://central.sonatype.org/register/central-portal/
I've successfully published my project with sbt-ci-release and sbt-sonatype v3.11.0 (which supports the new API),
but with sbt-typelevel-ci-release v0.7.2 (which includes the same sbt-sonatype) it doesn't work.
I tried to set SONATYPE_CREDENTIAL_HOST, but with no success.
The text was updated successfully, but these errors were encountered: