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

ci: updating nexus publish plugin version #26

Merged
merged 7 commits into from
May 28, 2024

Conversation

tanderson-ld
Copy link
Contributor

Updating nexus plugin

@tanderson-ld tanderson-ld requested a review from a team May 23, 2024 20:14
@tanderson-ld tanderson-ld requested review from louis-launchdarkly and kinyoklion and removed request for louis-launchdarkly May 28, 2024 13:38
username.set(ossrhUsername)
password.set(ossrhPassword)
}
sonatype {}
Copy link
Member

Choose a reason for hiding this comment

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

I had to use findProperty to get the username/password here. Which allowed it to be undefined in development and populated for releases. Does some other magic make that not required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From my local testing, commands of this form work.

./gradlew <task> -PsonatypeUsername=<username> -PsonatypePassword=<password>

And this is what the publish script uses.

Copy link
Member

Choose a reason for hiding this comment

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

It also works when they are of form:
./gradlew <task>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be resolved based on slack discussion.

@tanderson-ld tanderson-ld requested a review from kinyoklion May 28, 2024 19:43
Copy link
Member

@kinyoklion kinyoklion left a comment

Choose a reason for hiding this comment

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

Realized some CI failed.

Copy link
Member

@kinyoklion kinyoklion left a comment

Choose a reason for hiding this comment

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

Test packaging needs to disable signing?

@tanderson-ld tanderson-ld requested a review from kinyoklion May 28, 2024 21:53
@tanderson-ld tanderson-ld merged commit d1f0434 into main May 28, 2024
10 checks passed
@tanderson-ld tanderson-ld deleted the ta/iterating-on-publish-take3 branch May 28, 2024 22: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