Closed robertpanzer closed 3 years ago
Thanks!
I guess we have to do the CI-publishing in a separate PR?
Yes, if you are doing that. I didn't go that route yet for AsciidoctorJ as I am still not really sure that not anybody could get access to my secrets just via a simple PR.
I think you set up a secret in the organisation. I'm not sure with GitHub, but I lknow on Gitlab you can get it to only get applied on protected repositories such as master or custom release branches.
This PR updates the build to publish to Maven central instead of jcenter. I more or less followed the description from https://github.com/rwinch/gradle-publish-ossrh-sample
To build a release follow these steps:
I uploaded the artifacts with this PR to https://oss.sonatype.org/content/repositories/orgasciidoctor-1242.
There might be some more cleanup possible. I am not too familiar with the travisci plugin, so it might be necessary to clean that up as well.