Skip to content

Commit 6ec7908

Browse files
committed
refactor(release): remove redundant version update step
Release-please already updates __init__.py version in the release PR, making the update-version script and workflow step redundant. - Remove update-version step from release workflow - Remove update-version target from justfile - Delete scripts/update_version.py
1 parent 1148757 commit 6ec7908

File tree

3 files changed

+0
-55
lines changed

3 files changed

+0
-55
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ jobs:
5757
with:
5858
skip-uv-sync: "true"
5959

60-
- name: Update version in __init__.py
61-
if: ${{ steps.release.outputs.release_created }}
62-
run: nix develop --command just update-version
63-
6460
- name: Build and publish package
6561
if: ${{ steps.release.outputs.release_created }}
6662
env:

justfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ ty:
3434
gitleaks:
3535
gitleaks detect --source . --config .gitleaks.toml
3636

37-
# Update version in __init__.py
38-
update-version:
39-
uv run scripts/update_version.py
40-
4137
# Build package
4238
build:
4339
uv build

scripts/update_version.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)