diff --git a/pyprland/version.py b/pyprland/version.py index fce719e..4bb6e05 100644 --- a/pyprland/version.py +++ b/pyprland/version.py @@ -1 +1 @@ -VERSION = "2.2.19-4" +VERSION = "2.2.20" diff --git a/pyproject.toml b/pyproject.toml index c32cdde..fffbb0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyprland" -version = "2.2.19" +version = "2.2.20" description = "Hyperland plugin system - batteries included" authors = ["fdev31 "] license = "MIT" diff --git a/scripts/make_release b/scripts/make_release index cc0b2ba..aff2787 100755 --- a/scripts/make_release +++ b/scripts/make_release @@ -20,12 +20,13 @@ fi TOKEN=$(gopass show -o websites/api.github.com/fdev31) URL=https://api.github.com/repos/hyprland-community/pyprland +tox run -e unit || exit -1 # Bump py project {{{ sed -i "s#$ver_line#version = \"$version\"#" pyproject.toml git add pyproject.toml V="$version" ./scripts/update_version -git add pyprland/command.py +git add pyprland/version.py git commit -m "Version $version" --no-verify git tag $version git push @@ -33,9 +34,6 @@ git push poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD # }}} - -tox run -e unit || exit -1 - pushd ../aurPkgs/pyprland/ echo $version | bumpAurPkg.sh popd diff --git a/tests/test_plugin_scratchpads.py b/tests/test_plugin_scratchpads.py index a13a033..7ac65dc 100644 --- a/tests/test_plugin_scratchpads.py +++ b/tests/test_plugin_scratchpads.py @@ -168,7 +168,7 @@ async def test_no_proc(no_proc_scratchpads, subprocess_shell_mock, server_fixtur await wait_called(mocks.hyprctl, count=2) await _send_window_events() - await wait_called(mocks.hyprctl, count=5) + await wait_called(mocks.hyprctl, count=4) await asyncio.sleep(0.2) call_set = gen_call_set(mocks.hyprctl.call_args_list) call_set.remove("movetoworkspacesilent special:scratch_term,address:0x12345677890")