mockito / mockito-kotlin

Using Mockito with Kotlin
MIT License
3.09k stars 198 forks source link

Version 4.1.0 not plublished to Maven #462

Closed fmestrone closed 1 year ago

fmestrone commented 1 year ago

Hi all,

I can see a version 4.1.0 here on Github, but it is not present in Maven central. Is there any reason for this?

Thanks

TimvdLippe commented 1 year ago

I think the auto-releasing machinery didn't run correctly. We can delete the tag when we want to release again.

MartinX3 commented 1 year ago

Still a problem.

TimvdLippe commented 1 year ago

I attempted to fix this in #466 but it seems like we also need a newer version of Shipkit so that it doesn't crash when a tag already exists:

    * underlying problem: POST https://api.github.com/repos/mockito/mockito-kotlin/releases failed, response code = 422, response body:
  {"message":"Validation Failed","errors":[{"resource":"Release","code":"already_exists","field":"tag_name"}],"documentation_url":"https://docs.github.com/rest/reference/repos#create-a-release"}
    * troubleshooting: please run Gradle with '-s' to see the full stack trace or inspect the build scan
    * thank you for using Shipkit!

https://github.com/mockito/mockito-kotlin/actions/runs/3533349690/jobs/5928896985

MartinX3 commented 1 year ago

Thank you very much for your fast response. :)

JayExtra commented 1 year ago

Still having this problem. Any success on deploying the fix?

TimvdLippe commented 1 year ago

We need to bump our version of Shipkit before we can create releases via GitHub tags. #468 should fix that.

TimvdLippe commented 1 year ago

4.1.0 has been released to Maven Central: https://repo1.maven.org/maven2/org/mockito/kotlin/mockito-kotlin/4.1.0/