Skip to content

[release] Fix get_version_int to support new build var - #48437

Merged
jkarneges merged 1 commit into
mainfrom
cje/build_version_envvar_2
Sep 18, 2026
Merged

jkarneges merged 1 commit into
mainfrom
cje/build_version_envvar_2

Conversation

@clintjedwards

@clintjedwards clintjedwards commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

In #48436 we updated build.rs to support overriding the final version string. This did not account for get_version_int which assumes the build string is the older version format and strips it to find the semver string.

Since the only place we use this function is to parse out the major semver version for feature flagging, this PR fixes things by always pulling from the cargo.toml listed version instead.

In #48436 we updated `build.rs` to support overriding the final version
string. This did not account for `get_version_int` which assumes the build
string is the older version and strips it to find the semver string.

Since the only place we use this function is to parse out the major semver
version for feature flagging, this PR fixes things by always pulling
from the `cargo.toml` listed version instead.
@clintjedwards
clintjedwards requested a review from a team September 18, 2026 18:55
@jkarneges
jkarneges merged commit 864b2c0 into main Sep 18, 2026
21 checks passed
@jkarneges
jkarneges deleted the cje/build_version_envvar_2 branch September 18, 2026 19: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.

2 participants