Skip to content

Commit

Permalink
Fixed an issue when using a custom git/ssh package with `platform_pac…
Browse files Browse the repository at this point in the history
…kages` // Resolve #3624
  • Loading branch information
ivankravets committed Sep 4, 2020
1 parent 7daccee commit 1f28056
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion platformio/platform/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def packages(self):
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:
Expand Down

0 comments on commit 1f28056

Please sign in to comment.