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

automate publish with additional nexus plugins #610

Merged
merged 2 commits into from
Oct 1, 2019
Merged

Conversation

jpoehnelt
Copy link
Contributor

@jpoehnelt jpoehnelt commented Sep 27, 2019

This also gives us the option to close and release the staged version via cli in the future. ./gradlew tasks

Publishing tasks
----------------
generateMetadataFileForMapsJavaUtilsPublication - Generates the Gradle metadata file for publication 'MapsJavaUtils'.
generatePomFileForMapsJavaUtilsPublication - Generates the Maven POM file for publication 'MapsJavaUtils'.
publish - Publishes all publications produced by this project.
publishMapsJavaUtilsPublicationToMavenLocal - Publishes Maven publication 'MapsJavaUtils' to the local Maven repository.
publishMapsJavaUtilsPublicationToMavenRepository - Publishes Maven publication 'MapsJavaUtils' to Maven repository 'maven'.
publishMapsJavaUtilsPublicationToSonatypeRepository - Publishes Maven publication 'MapsJavaUtils' to Maven repository 'sonatype'.
publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache.
publishToSonatype - Publishes all Maven publications produced by this project to Nexus.

Release tasks
-------------
closeAndPromoteRepository - DEPRECATION WARNING. This task is DEPRECATED. Use 'closeAndReleaseRepository' instead.
closeAndReleaseRepository - Closes and releases an artifacts repository in Nexus
closeRepository - Closes an open artifacts repository in Nexus
createRepository - Internal task. Should not be used directly. Explicitly creates a staging repository in Nexus
getStagingProfile - Gets a staging profile id in Nexus - a diagnostic task
promoteRepository - DEPRECATION WARNING. This task is DEPRECATED. Use 'releaseRepository' instead.
releaseRepository - Releases a closed artifacts repository in Nexus

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 27, 2019
@coveralls
Copy link

coveralls commented Sep 27, 2019

Coverage Status

Coverage remained the same at 74.017% when pulling 1faa5fb on publish_test into 538afb7 on master.

@jpoehnelt jpoehnelt added the semver: patch A minor bug fix or small change. label Sep 27, 2019
@amuramoto
Copy link
Member

@jpoehnelt Can we hold this until the release of 0.10.2 or 0.11.0? Just to make sure everything works as expected for a live release before we merge this.

@jpoehnelt
Copy link
Contributor Author

Can we hold this until the release of 0.10.2 or 0.11.0? Just to make sure everything works as expected for a live release before we merge this.

This only stages and runs when a git tag/release is created. It's still a manual process to close and release. What benefit is there in waiting?

@jpoehnelt jpoehnelt merged commit d47317e into master Oct 1, 2019
@jpoehnelt jpoehnelt deleted the publish_test branch October 1, 2019 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. semver: patch A minor bug fix or small change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants