From a6f01ba71e3751911757af478a5cbd48610b0afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20W=C3=B3jcik?= Date: Thu, 18 Sep 2025 20:33:08 +0200 Subject: [PATCH] BTHLABS-0000: Fix bumping of the workspace --- invoke.yaml | 1 + poetry.lock | 3 +++ pyproject.toml | 2 +- tasks.py | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/invoke.yaml b/invoke.yaml index b5fe8aa..69052b0 100644 --- a/invoke.yaml +++ b/invoke.yaml @@ -4,4 +4,5 @@ run: files_to_version: - "deployment/aio/docker-compose.yaml" - "deployment/fullstack/docker-compose.yaml" + - "pyproject.toml" - "README.md" diff --git a/poetry.lock b/poetry.lock index 8295a93..eeeb4a5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -9,6 +9,9 @@ python-versions = "^3.12" files = [] develop = true +[package.dependencies] +invoke = "2.2.0" + [package.source] type = "directory" url = "services/packages/workspace_tools" diff --git a/pyproject.toml b/pyproject.toml index bfef41e..61ce036 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hotpocket-workspace" -version = "1.0.0" +version = "25.9.12" description = "HotPocket Workspace" authors = ["Tomek Wójcik "] license = "Apache-2.0" diff --git a/tasks.py b/tasks.py index c189e1b..ac7b623 100644 --- a/tasks.py +++ b/tasks.py @@ -290,5 +290,5 @@ def bump_version(ctx: Context, f'inv bump-version {next_version} --build {build}', ) - if service is None: + if 'backend' in services_to_bump: tools_bump_version_task(ctx, next_version, build=build)