From 6203040e0b0b1c756a9c3fdfdf03100ff4e21d2b Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Sat, 25 Jan 2025 08:17:17 -0500 Subject: [PATCH] chore: ensure that uv.lock is updated and shipped with the release --- .releaserc.js | 1 + ci/release/prepare.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.releaserc.js b/.releaserc.js index 3ec1f0494203..171298814799 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -82,6 +82,7 @@ module.exports = { { assets: [ "pyproject.toml", + "uv.lock", "docs/release_notes_generated.qmd", "ibis/__init__.py" ], diff --git a/ci/release/prepare.sh b/ci/release/prepare.sh index 940ac3a88dbb..3fb53a3d7707 100755 --- a/ci/release/prepare.sh +++ b/ci/release/prepare.sh @@ -6,6 +6,9 @@ version="${1}" nix develop '.#release' -c uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version "$version" +# sync lockfile +nix develop '.#release' -c uv sync + # build artifacts nix develop '.#release' -c uv build