Skip to content

Commit d4b6be4

Browse files
authored
Merge pull request #3 from openscm/fix-build-ci
Maybe fix bump.yaml
2 parents d759a3c + 4967a45 commit d4b6be4

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/bump.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
echo "Bumping from version $BASE_VERSION"
5151
5252
# Bump
53-
uv version --bump ${{ github.event.inputs.bump_rule }}
53+
uv version --no-sync --bump ${{ github.event.inputs.bump_rule }}
5454
5555
NEW_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
5656
echo "Bumping to version $NEW_VERSION"
@@ -68,7 +68,7 @@ jobs:
6868
BASE_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
6969
7070
# Bump to pre-release of next version
71-
uv version --bump post
71+
uv version --no-sync --bump post
7272
7373
NEW_VERSION=`sed -ne 's/^version = "\([0-9\.post]*\)"/\1/p' pyproject.toml`
7474
echo "Bumping version $BASE_VERSION > $NEW_VERSION"

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "" >> ".github/release_template.md"
4343
echo "## Changelog" >> ".github/release_template.md"
4444
echo "" >> ".github/release_template.md"
45-
uv add typer
45+
uv add --no-sync typer
4646
uv run --no-sync python scripts/changelog-to-release-template.py >> ".github/release_template.md"
4747
echo "" >> ".github/release_template.md"
4848
echo "## Changes" >> ".github/release_template.md"

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ci:
55
autoupdate_branch: pre-commit-autoupdate
66
# Currently network access isn't supported in the pre-commit CI product.
77
skip: [
8+
inject-srcs-into-meson-build,
89
propagate-pyproject-metadata,
910
uv-sync,
1011
uv-lock,

changelog/3.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bump and release CI and fix pre-commit config so it works in CI

0 commit comments

Comments
 (0)