diff --git a/HISTORY.rst b/HISTORY.rst index c28e2f39..833c823f 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,11 +8,16 @@ PlatformIO Core 5 **A professional collaborative platform for embedded development** -- `Migration guide from 4.x to 5.0 `__ +5.0.1 (2020-??-??) +~~~~~~~~~~~~~~~~~~ + +- Fixed an issue when using a custom git/ssh package with `platform_packages `__ option (`issue #3624 `_) 5.0.0 (2020-09-03) ~~~~~~~~~~~~~~~~~~ +Please check `Migration guide from 4.x to 5.0 `__. + * Integration with the new **PlatformIO Trusted Registry** - Enterprise-grade package storage with high availability (multi replicas) diff --git a/platformio/platform/base.py b/platformio/platform/base.py index b29a9d7b..b214da5f 100644 --- a/platformio/platform/base.py +++ b/platformio/platform/base.py @@ -94,7 +94,7 @@ class PlatformBase( # pylint: disable=too-many-instance-attributes,too-many-pub name = item version = "*" if "@" in item: - name, version = item.split("@", 2) + name, version = item.split("@", 1) spec = self.pm.ensure_spec(name) options = {"version": version.strip(), "optional": False} if spec.owner: