Fixed an issue when using a custom git/ssh package with platform_packages // Resolve #3624

This commit is contained in:
Ivan Kravets
2020-09-04 22:47:49 +03:00
parent 7dacceef04
commit 1f28056459
2 changed files with 7 additions and 2 deletions

View File

@ -8,11 +8,16 @@ PlatformIO Core 5
**A professional collaborative platform for embedded development**
- `Migration guide from 4.x to 5.0 <https://docs.platformio.org/page/core/migration.html>`__
5.0.1 (2020-??-??)
~~~~~~~~~~~~~~~~~~
- Fixed an issue when using a custom git/ssh package with `platform_packages <https://docs.platformio.org/page/projectconf/section_env_platform.html#platform-packages>`__ option (`issue #3624 <https://github.com/platformio/platformio-core/issues/3624>`_)
5.0.0 (2020-09-03)
~~~~~~~~~~~~~~~~~~
Please check `Migration guide from 4.x to 5.0 <https://docs.platformio.org/page/core/migration.html>`__.
* Integration with the new **PlatformIO Trusted Registry**
- Enterprise-grade package storage with high availability (multi replicas)

View File

@ -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: