Skip to content

Commit 98bf325

Browse files
chore: 3.0.0-beta.1 release ready (#26167)
1 parent 8bb09e4 commit 98bf325

3 files changed

Lines changed: 27 additions & 21 deletions

File tree

Cargo.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ exclude = [
3535
]
3636

3737
[workspace.package]
38-
version = "0.1.0"
38+
version = "3.0.0-beta.1"
3939
authors = ["InfluxData OSS Developers"]
4040
edition = "2024"
4141
license = "MIT OR Apache-2.0"

influxdb3_process/build.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
1717
fn get_git_hash() -> String {
1818
let git_hash = {
1919
let output = Command::new("git")
20-
.args(["describe", "--always", "--dirty", "--abbrev=64"])
20+
// We used `git describe`, but when you tag a build the commit hash goes missing when
21+
// using describe. So, switching it to use `rev-parse` which is consistent with the
22+
// `get_git_hash_short` below as well.
23+
//
24+
// And we already have cargo version appearing as a separate string so using `git
25+
// describe` looks redundant on tagged release builds
26+
.args(["rev-parse", "HEAD"])
2127
.output()
2228
.expect("failed to execute git rev-parse to read the current git hash");
2329

0 commit comments

Comments
 (0)