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

Automatically release on Maven Central #289

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcgay
Copy link
Member

@jcgay jcgay commented Jul 31, 2022

Instead of manually close staged artifacts repository in https://oss.sonatype.org/
the plugin will handle it.

https://help.sonatype.com/repomanager2/staging-releases/configuring-your-project-for-deployment

I'v reused the ossrh-staging server id to not have to change the configuration in settings.xml.

@@ -604,6 +610,16 @@
</execution>
</executions>
</plugin>
<plugin>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we want to activate it by default or not ?
We can move the configuration to pluginManagement if not and let projects choose to use it explicitly 😇.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe you right ... it will remove vote process at all

another idea to introduce property, eg: autoRelease or something else - default to false
when project want such simple change property value.

one benefit what I see is that repository will be closed after release, now we have two actions: close and release.

for reference: https://www.mojohaus.org/development/performing-a-release.html#Staging_the_Release

@slawekjaranowski slawekjaranowski marked this pull request as draft March 30, 2023 20:24
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

Successfully merging this pull request may close these issues.

2 participants