-
Notifications
You must be signed in to change notification settings - Fork 172
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
Signature files have wrong name when published via bintrayUpload #470
Comments
Oh...that is sad. configurations.archives.artifacts.each {
println it.getFile()
}
I shortened the paths for better readability. They are absolute and the ones you found in your filesystem. But have a look at what the bintray plugin does:
There is obviously a transformation going on. Maybe it's a feature but I don't get it. |
If I remember correctly, I had a difficult time getting this right when I first made the build. This was one of the reasons we had such a convoluted grouping of plugins, specifically the nebula plugins, because I was working around lots of bugs. I don't remember all the details now...I just remember it was incredibly difficult to get right. |
Filed bintray/gradle-bintray-plugin#124 for the gradle bintray plugin. |
Thank you @robertpanzer for writing a bug report. I was too tired to do that. The nebula plugin will not help us in this case. The bintray plugin evolved too. We used the version 1.0. |
I'm in favor of that plan. It's definitely the direction we want to head. |
Sounds like a good idea. Another issue that I have is the security question: If I don't get it wrong anyone with Dan's, Alex's or my credentials could publish anything then. |
Thanks to Ludovic, we've figured this one out. It's possible to create an SSH key, encrypt it and put it into the git repository for Travis to use. Only Travis will be able to unencrypt and use it. We should definitely look into setting that up for this repository. I can help. See the following for reference: |
Euh, maybe I am not understanding this correctly, but would that work? I thought the idea was to upload the archives without signatures and let Bintray sign them (Hopefully with the correct file names) and then publish to Maven Central. But I really have no experience with this yet, so I could be totally wrong. I'll play with it over the next days with a private repo and see how it works (stopping at promoting anything to Maven Central certainly ;-) ) |
I don't have it all sorted out in my head either. But my point is that there is now a way in Travis to get the user running the build to be authenticated (either through SSH or other means) so the build user has full permission to do what it needs to do. |
Seems like the issue will be fixed in version 1.7 of the gradle-bintray-plugin :-) |
When trying to promote the artifacts to Maven Central it complained about missing signature files.
It seems that they are renamed during upload for example from asciidoctorj-1.6.0-alpha.3.jar.asc to asciidoctorj-1.6.0-alpha.3-jar.asc and Maven Central does not like that.
The files in the local file system have the correct file name, e.g. asciidoctorj-1.6.0-alpha.3.jar.asc.
For the 1.6.0-alpha.3 release I uploaded them manually now.
The text was updated successfully, but these errors were encountered: