Skip to content

Commit

Permalink
Merge pull request #449 from jakob-keller/dependencies
Browse files Browse the repository at this point in the history
build(python): sync `uv.lock`
  • Loading branch information
jakob-keller authored Oct 27, 2024
2 parents 0e7c8f1 + 1ea1fe3 commit 05cdb92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
id-token: write
env:
UV_PYTHON_PREFERENCE: only-system
UV_LOCKED: 1
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
Expand All @@ -52,17 +51,9 @@ jobs:
name: Create bump and changelog
uses: commitizen-tools/[email protected]
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
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ documentation = "https://api.peprock.ponte.energy"
version_provider = "pep621"
update_changelog_on_bump = true
bump_message = "chore: bump version to $new_version"
pre_bump_hooks = [
"uv lock",
]
changelog_incremental = true


Expand Down

0 comments on commit 05cdb92

Please sign in to comment.