Skip to content

Fix maven release#50

Merged
tcasstevens merged 80 commits intomasterfrom
fix-maven-release
May 23, 2025
Merged

Fix maven release#50
tcasstevens merged 80 commits intomasterfrom
fix-maven-release

Conversation

@tcasstevens
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

The workflow replaces the existing Sonatype publishing steps with a JReleaser-based sequence and adds the necessary environment variables for GPG and Maven Central integration.

  • Switch from direct publishToSonatype tasks to jreleaserConfig, publish, and jreleaserFullRelease commands with increased JVM heap.
  • Introduce JReleaser-specific secrets for GPG keys, GitHub token, and Maven Central credentials.
Comments suppressed due to low confidence (1)

.github/workflows/run-publish-maven.yml:53

  • [nitpick] The secret BIOKOTLINMAVEN name is ambiguous for a GitHub token. Consider using or renaming to the standard GITHUB_TOKEN or a clearer secret name to indicate its purpose.
JRELEASER_GITHUB_TOKEN: ${{ secrets.BIOKOTLINMAVEN }}


- name: Publish to Maven Central Repository
run: conda run ./gradlew clean publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon
run: conda run --no-capture-output bash -c "./gradlew jreleaserConfig && ./gradlew clean && ./gradlew publish && ./gradlew jreleaserFullRelease -Dorg.gradle.jvmargs=\"-Xmx8g\""

This comment was marked as resolved.

@tcasstevens tcasstevens merged commit 8afa22e into master May 23, 2025
@tcasstevens tcasstevens deleted the fix-maven-release branch May 23, 2025 15:00
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.

6 participants