-
Notifications
You must be signed in to change notification settings - Fork 65
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
How to get repository id from publishSigned command #66
Comments
You can use these commands:
|
Is there a way to link the repository that was created by publishSigned? If I have two repositories under the same staging profile, how do I differentiate them? Is there someway we can make publishSigned return the repository id that was just created? |
You can use |
And also if you set publishTo as:
https://github.com/xerial/sbt-sonatype/blob/master/src/main/scala/xerial/sbt/Sonatype.scala#L84 Then you can send the artifact to the target profile. |
This doesn't seem to work with publishSigned. I use |
@ChoiByungWook sbt-sonatype 3.0 has a feature to specify a single staging repository by using sonatypeSessionName key, which is I'm not sure this works for your build configuration, but have a try. |
I want to release the staging repository that was created from running publishSigned, however sonatypeRelease will fail if there are more than one repository under the same staging profile. I don't want to release all the repositories, so sonatypeReleaseAll can't be used.
The text was updated successfully, but these errors were encountered: