From ce07c443f360cfd58c9c0e62ff5e06050a403c4e Mon Sep 17 00:00:00 2001 From: Jakob Keller <57402305+jakob-keller@users.noreply.github.com> Date: Sun, 27 Oct 2024 23:12:50 +0100 Subject: [PATCH] ci(python): sync `uv.lock` --- .github/workflows/release.yml | 8 ++++++++ uv.lock | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d8b087..20765fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,9 +52,17 @@ jobs: name: Create bump and changelog uses: commitizen-tools/commitizen-action@0.21.0 with: + push: false github_token: ${{ secrets.GITHUB_TOKEN }} increment: ${{ inputs.increment }} check_consistency: true + - name: Amend commit with updated uv.lock + run: | + UV_LOCKED=0 uv lock + git add uv.lock + git commit --amend --no-edit + git tag ${{ steps.cz.outputs.version }} --force + git push --tags - name: Build package run: uv build - name: Release to GitHub diff --git a/uv.lock b/uv.lock index 3d64756..31a1797 100644 --- a/uv.lock +++ b/uv.lock @@ -280,7 +280,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/40/a3/141d32ae6abfdd17f [[package]] name = "peprock" -version = "1.7.1" +version = "1.7.2" source = { editable = "." } dependencies = [ { name = "typing-extensions", marker = "python_full_version < '3.11'" },