Resolved an issue related to the relative package path in the pio pkg publish

This commit is contained in:
Ivan Kravets
2024-01-22 22:57:07 +02:00
parent 84c7ede0e1
commit e3e08d9691
2 changed files with 3 additions and 1 deletions

View File

@ -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 <https://github.com/platformio/platformio-core/issues/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 <https://github.com/platformio/platformio-core/issues/4834>`_)
* Resolved an issue related to the relative package path in the `pio pkg publish <https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_publish.html>`__ command
6.1.13 (2024-01-12)
~~~~~~~~~~~~~~~~~~~

View File

@ -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 = (