Skip to content

Conversation

@jiangzho
Copy link
Contributor

@jiangzho jiangzho commented Mar 20, 2025

What changes were proposed in this pull request?

This PR makes gradle build automatically append -SNAPSHOT suffix to version for non-release builds

Why are the changes needed?

This would help to automatically set up builds based on gradle release properties

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass the CIs

Was this patch authored or co-authored using generative AI tooling?

No

…ix to version for non-release builds

What changes were proposed in this pull request?
This PR makes gradle build automatically append -SNAPSHOT suffix to version for non-release builds

Why are the changes needed?
This would help to reduce one duplicate hard-coded version in gradle scripts, as we already defined version in gradle properties

Does this PR introduce any user-facing change?
No

How was this patch tested?
pass the CIs

Was this patch authored or co-authored using generative AI tooling?
No
@github-actions github-actions bot added the BUILD label Mar 20, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Could you check the CI failures, @jiangzho ?

@dongjoon-hyun
Copy link
Member

Gentle ping, @jiangzho .

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @jiangzho .
Merged to main.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Oh, @jiangzho .

Unfortunately, it turns out that this break the Dockerfile build because it always runs without -Prelease=true. Let me revert his.

RUN --mount=type=cache,target=/home/gradle/.gradle/caches gradle --no-daemon clean build -x check

@dongjoon-hyun
Copy link
Member

This is reverted via e5e37f3 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants