From 2373b55d8b7449949e772d404cfff1af969e5634 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Sat, 4 Apr 2026 14:43:07 -0400 Subject: [PATCH] fix actions host label. cp[e woth debian flavor sed --- .gitea/workflows/release.yml | 2 +- scripts/bumpminor.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5be0033..340ffbd 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: FreeBSD steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/scripts/bumpminor.sh b/scripts/bumpminor.sh index 060ff43..d26c1ac 100755 --- a/scripts/bumpminor.sh +++ b/scripts/bumpminor.sh @@ -3,7 +3,7 @@ set -e uv version --bump patch VER=$(uv version --short) -sed -i "" "s/__version__ = \"[0-9.]*\"\(.*\)$/__version__ = \"$VER\"\1/" hbd/__init__.py +sed -i".bak" "s/__version__ = \"[0-9.]*\"\(.*\)$/__version__ = \"$VER\"\1/" hbd/__init__.py # commit pyproject.toml git commit -m "version $VER" pyproject.toml hbd/__init__.py @@ -11,3 +11,5 @@ git push # tag version git tag -a v$VER -m "Version $VER" git push --tags + +rm hbd/__init__.py.bak