No parameters are passed to sonatypeRelease which means it will fail if there are multiple staging repositories in an open state.
This is undesirable as parallel deploy jobs means we're creating multiple staging repositories, and the sonatypeRelease command doesn't know which one is associated with the deploy job.
Scope sonatypeRelease (pass repositoryId) to the current deploy job
No parameters are passed to
sonatypeRelease
which means it will fail if there are multiple staging repositories in an open state.This is undesirable as parallel deploy jobs means we're creating multiple staging repositories, and the
sonatypeRelease
command doesn't know which one is associated with the deploy job.sonatypeRelease
(passrepositoryId
) to the current deploy jobSee: https://github.com/xerial/sbt-sonatype#available-commands