Skip to content
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

Version 4.1.0 not plublished to Maven #462

Closed
fmestrone opened this issue Sep 11, 2022 · 7 comments
Closed

Version 4.1.0 not plublished to Maven #462

fmestrone opened this issue Sep 11, 2022 · 7 comments

Comments

@fmestrone
Copy link

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
Copy link
Contributor

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

@MartinX3
Copy link

Still a problem.

@TimvdLippe TimvdLippe reopened this Nov 23, 2022
@TimvdLippe
Copy link
Contributor

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
Copy link

Thank you very much for your fast response. :)

@JayExtra
Copy link

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

TimvdLippe added a commit that referenced this issue Nov 26, 2022
Related to getting version 4.1.0 published: #462
@TimvdLippe
Copy link
Contributor

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

TimvdLippe added a commit that referenced this issue Nov 26, 2022
Related to getting version 4.1.0 published: #462
@TimvdLippe
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants