From e3e08d96916cdbac22d5a465bbd752408ae25a6a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 22 Jan 2024 22:57:07 +0200 Subject: [PATCH] Resolved an issue related to the relative package path in the `pio pkg publish` --- HISTORY.rst | 3 ++- platformio/package/commands/publish.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 727cbe46..bfe1dcba 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,7 +20,8 @@ test-driven methodologies, and modern toolchains for unrivaled success. 6.1.14 (2024-??-??) ~~~~~~~~~~~~~~~~~~~ -* Broadened version support for the pyelftools dependency, enabling compatibility with lower versions and facilitating integration with a wider range of third-party tools (`issue #4834 `_) +* Broadened version support for the ``pyelftools`` dependency, enabling compatibility with lower versions and facilitating integration with a wider range of third-party tools (`issue #4834 `_) +* Resolved an issue related to the relative package path in the `pio pkg publish `__ command 6.1.13 (2024-01-12) ~~~~~~~~~~~~~~~~~~~ diff --git a/platformio/package/commands/publish.py b/platformio/package/commands/publish.py index c8b4ea77..ff0f6507 100644 --- a/platformio/package/commands/publish.py +++ b/platformio/package/commands/publish.py @@ -86,6 +86,7 @@ def package_publish_cmd( # pylint: disable=too-many-arguments, too-many-locals package, owner, typex, released_at, private, notify, no_interactive, non_interactive ): click.secho("Preparing a package...", fg="cyan") + package = os.path.abspath(package) no_interactive = no_interactive or non_interactive owner = owner or AccountClient().get_logged_username() do_not_pack = (