Skip to content

Commit 4e42f80

Browse files
committed
Release v1.0.4
1 parent 4f57239 commit 4e42f80

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 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
@@ -1,6 +1,6 @@
11
[package]
22
name = "clostera"
3-
version = "1.0.3"
3+
version = "1.0.4"
44
edition = "2024"
55

66
[features]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "clostera"
7-
version = "1.0.3"
7+
version = "1.0.4"
88
description = "Modern Rust rewrite of the original pqkmeans project for large-scale clustering with numpy and parquet workflows"
99
readme = "README.md"
1010
requires-python = ">=3.10"

scripts/release.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@ def main() -> None:
5252
for path in TARGETS:
5353
replace_version(path, args.version)
5454

55+
# Refresh Cargo.lock so --locked release builds remain valid after the
56+
# package version changes in Cargo.toml.
57+
run("cargo", "metadata", "--format-version", "1", "--no-deps")
58+
5559
if args.commit:
5660
run("git", "add", *(str(path.relative_to(REPO_ROOT)) for path in TARGETS))
61+
run("git", "add", "Cargo.lock")
5762
run("git", "commit", "-m", f"Release v{args.version}")
5863

5964
if args.tag:

0 commit comments

Comments
 (0)