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

publish to sonatype nexus instead of bintray #671

Merged
merged 3 commits into from
Apr 12, 2021

Conversation

ancho
Copy link
Member

@ancho ancho commented Mar 21, 2021

This is an attempt to replace the bintray publishing with a plugin to directly publish the artifacts to sonytype nexus.
It uses the gradle nexus publish plugin.

There are three things that need to be handled.

  • publish jbake-core lib to sonatype nexus
  • publish the binary distribution somewhere
  • Fix location for the sdkman publishing task

The question is where to put the binary distribution?

We could use create github realeases and add the distribution there or copy it to the webpage of jbake.
The latter requires some git kungfu, i guess. As the jbake.org page lives at gitlab pages.

Currently i am more into using github releases but I am open for other ideas too.

@ancho ancho linked an issue Mar 21, 2021 that may be closed by this pull request
@ancho
Copy link
Member Author

ancho commented Mar 21, 2021

First experiments successful with the github releases plugin.

Screenshot-area-2021-03-21T15:15:10+01:00

@ancho ancho force-pushed the feature/maven-central-publishing branch from cc1e9f3 to 20e5258 Compare March 21, 2021 18:20
@ancho ancho force-pushed the feature/maven-central-publishing branch from 20e5258 to 332aae2 Compare March 21, 2021 18:31
@ancho ancho changed the title [WIP] publish to sonatype nexus instead of bintray publish to sonatype nexus instead of bintray Mar 21, 2021
@ancho ancho requested a review from jonbullock March 21, 2021 21:33
@jonbullock
Copy link
Member

Makes sense to use GitHub releases for the binary distribution so it's available alongside the source code, so lets go with it.

@manikmagar
Copy link
Member

Using Github releases makes more sense for github source. It is easy to find binaries. I have been using Github Actions to release to github as well as to publish packages Sdkman, homebrew, scoop, container etc - https://github.com/manikmagar/mulefd/blob/master/.github/workflows/publish-packages.yml. I am now keeping an eye on this https://github.com/jreleaser/jreleaser for possibly simplifying that workflow.

@jonbullock
Copy link
Member

Yeah jreleaser is on my list of things to check out.

@jonbullock jonbullock added this to the v2.6.6 milestone Apr 11, 2021
@jonbullock jonbullock merged commit 1985eda into jbake-org:master Apr 12, 2021
@aalmiray
Copy link
Contributor

I can help getting JReleaser configured in this build 😏

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

Successfully merging this pull request may close these issues.

handle bintray shutdown
4 participants