Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
echo "Bumping from version $BASE_VERSION"

# Bump
uv version --bump ${{ github.event.inputs.bump_rule }}
uv version --no-sync --bump ${{ github.event.inputs.bump_rule }}

NEW_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
echo "Bumping to version $NEW_VERSION"
Expand All @@ -68,7 +68,7 @@ jobs:
BASE_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`

# Bump to pre-release of next version
uv version --bump post
uv version --no-sync --bump post

NEW_VERSION=`sed -ne 's/^version = "\([0-9\.post]*\)"/\1/p' pyproject.toml`
echo "Bumping version $BASE_VERSION > $NEW_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
echo "" >> ".github/release_template.md"
echo "## Changelog" >> ".github/release_template.md"
echo "" >> ".github/release_template.md"
uv add typer
uv add --no-sync typer
uv run --no-sync python scripts/changelog-to-release-template.py >> ".github/release_template.md"
echo "" >> ".github/release_template.md"
echo "## Changes" >> ".github/release_template.md"
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ci:
autoupdate_branch: pre-commit-autoupdate
# Currently network access isn't supported in the pre-commit CI product.
skip: [
inject-srcs-into-meson-build,
propagate-pyproject-metadata,
uv-sync,
uv-lock,
Expand Down
1 change: 1 addition & 0 deletions changelog/3.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bump and release CI and fix pre-commit config so it works in CI