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

Release automatically to SDKMAN #276

Merged
merged 4 commits into from
Oct 5, 2020
Merged

Release automatically to SDKMAN #276

merged 4 commits into from
Oct 5, 2020

Conversation

wolfs
Copy link
Member

@wolfs wolfs commented Oct 1, 2020

Publishes releases automatically to SDKMAN.

@wolfs wolfs added @execution internal Internal change labels Oct 1, 2020
@wolfs wolfs added this to the 0.15.0 milestone Oct 1, 2020
@wolfs wolfs self-assigned this Oct 1, 2020
so we only announce and set the default version for a
final release.
@wolfs wolfs requested a review from lptr October 2, 2020 08:32
Copy link
Member

@lptr lptr left a comment

Choose a reason for hiding this comment

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

LGTM, I think we need to better document this though.


tasks.register("releaseToSdkMan") {
val versionString = project.version.toString()
val isFinalRelease = Regex("""[0-9\.]*""").matchEntire(versionString) != null
Copy link
Member

Choose a reason for hiding this comment

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

This could use a bit of commenting. And it would be great to mention the release logic and the fact that we are publishing to SDKMAN in the RELEASING.md. That file is in dire need of updating anyway.

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 added a comment and updated the release instructions.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks. I think the way the version number format controls the SDKMAN publishing behavior should also be mentioned in RELEASING.md.

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 added it the releasing instructions as well.

@wolfs
Copy link
Member Author

wolfs commented Oct 5, 2020

@lptr PTAL!

Copy link
Member

@lptr lptr left a comment

Choose a reason for hiding this comment

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

LGTM.

@wolfs wolfs merged commit 1a9dd27 into master Oct 5, 2020
@wolfs wolfs deleted the wolfs/sdkman-plugin branch October 5, 2020 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants