Skip to content

Conversation

@acoyner
Copy link
Contributor

@acoyner acoyner commented Oct 17, 2025

Published 4.0.3-TEST to Maven Central Repository: https://central.sonatype.com/publishing/deployments
And tested it out with a demo app to verify that everything works.

@acoyner acoyner requested a review from a team as a code owner October 17, 2025 20:32
@acoyner
Copy link
Contributor Author

acoyner commented Oct 20, 2025

Fixes CXTOOLS-558

@zmarkan
Copy link
Contributor

zmarkan commented Oct 21, 2025

I can see that the GHA pipeline failed last time - do you know why it failed?

Copy link
Contributor

@zmarkan zmarkan left a comment

Choose a reason for hiding this comment

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

Left a couple of minor comments.

Also:

  • I can see that the GHA pipeline failed last time it ran - Do you know why it failed?
  • The commit history has a lot of "noise" in it - there are several commits with the same message "fix", and a commit that explicitly calls that a key was accidentally committed.
    Please squash the commit history so that it looks cleaner.

Comment on lines +75 to +82

withXml {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add some high level comments explaining what this block does? I understand it now that it deals with explicit dependency version pinning in the generated pom file but it's not going to be obvious when someone looks at this in a couple of months.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

uses: actions/setup-java@v4
with:
java-version: '18'
java-version: '17'
Copy link
Contributor

Choose a reason for hiding this comment

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

Genuine question: Why the java version downgrade here from 18 to 17? (I don't have an opinion about it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was unintentional, Claude was insistent on changing it to 17 when we were debugging. It's back to 18 now

JRELEASER_GPG_PASSPHRASE: ${{ secrets.ORG_GRADLE_PROJECT_GPG_SIGNING_IN_MEMORY_KEY_PWD }}
run: |
./gradlew publish
./gradlew :DittoToolsAndroid:jreleaserFullRelease -PLIBRARY_VERSION=${{ github.event.release.tag_name }} --stacktrace
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need to run this with --stacktrace flag? I'd expect this to be removed once the pipeline is productionized.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was for debugging, removed it now that it's working.

@acoyner
Copy link
Contributor Author

acoyner commented Oct 21, 2025

I had been deleting the all the GHAs since they were for testing and forgot that one failed one. I just did another so the most recent attempt should show as successful now @zmarkan

@acoyner acoyner merged commit 43d0592 into main Oct 22, 2025
1 check passed
@acoyner acoyner deleted the temp/jreleaser branch October 22, 2025 13:16
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.

4 participants