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

docs: Update release.md #5431

Merged
merged 1 commit into from
Dec 19, 2024
Merged

docs: Update release.md #5431

merged 1 commit into from
Dec 19, 2024

Conversation

tisonkun
Copy link
Member

@Xuanwo do we have a script to update Cargo.toml's version now? If so, perhaps we can add those bindings' version bump also.

@@ -139,11 +139,10 @@ For example:
Bump all components' version in the project to the new opendal version.
Please note that this version is the exact version of the release, not the release candidate version.

- rust core: bump version in `Cargo.toml`
- cpp binding: bump version in `bindings/cpp/CMakeLists.txt`
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed. I don't see such a version field anymore.

cc @PragmaTwice is this the case?

Copy link
Member Author

Choose a reason for hiding this comment

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

is this the case?

That we don't have a version field for Opendal C++ binding in CMakeLists.txt, and it's intended.

If so, I'd like to know the reason.

Copy link
Member

Choose a reason for hiding this comment

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

It's not so common to maintain such VERSION field in project() in C++ project.

I think I remove it since the version number is stale. You can add it again if you want.

Copy link
Member Author

Choose a reason for hiding this comment

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

if you want.

No need :D

not so common to maintain such VERSION

May I ask what is the common practice to version a C++ project?

Copy link
Member

@PragmaTwice PragmaTwice Dec 19, 2024

Choose a reason for hiding this comment

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

I don't think there's a common practice, it can be just git tags, or text files, or generate by scripts, e.g. https://github.com/ClickHouse/ClickHouse/blob/8a04621f436a36b35346ff474fb980469b61647d/cmake/autogenerated_versions.txt#L1 .

Copy link
Member Author

Choose a reason for hiding this comment

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

Get it.

@Xuanwo
Copy link
Member

Xuanwo commented Dec 19, 2024

do we have a script to update Cargo.toml's version now? If so, perhaps we can add those bindings' version bump also.

No, we don't have such things.

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you for updating this.

@tisonkun tisonkun merged commit f52c488 into main Dec 19, 2024
29 checks passed
@tisonkun tisonkun deleted the tisonkun-patch-1 branch December 19, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants