Skip to content

Package publish rejects the package #3828

Description

@mcspr

Configuration

Operating system:

Windows 20H2

PlatformIO Version (platformio --version):

PlatformIO Core, version 5.1.0

Description of problem

Following up on the #3776

After downloading release files from:
https://github.com/earlephilhower/esp-quick-toolchain/releases

> dir | foreach {echo $_.Name}
aarch64-linux-gnu.xtensa-lx106-elf-48f7b08.210128.tar.gz
x86_64-apple-darwin14.xtensa-lx106-elf-48f7b08.210128.tar.gz
x86_64-linux-gnu.xtensa-lx106-elf-48f7b08.210128.tar.gz
x86_64-w64-mingw32.xtensa-lx106-elf-48f7b08.210128.zip
> dir | foreach {pio package publish $_.Name}
Error: Invalid request data for pkgtype -> 'Must be one of: library, platform, tool'
Error: Invalid request data for pkgtype -> 'Must be one of: library, platform, tool'

Aborted!
>

I have not tried to 'repackage', like before, since I assumed this method of directly uploading .tar.gz or .zip should work now.

Additional info

package.json is generated here:

https://github.com/earlephilhower/esp-quick-toolchain/blob/48f7b08d1679365ea462675dd3bfb9d83c9bf11a/Makefile#L280-L290

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions