New Platform custom Kibana plugin installation - "No kibana plugins found in archive"

I am trying to install my custom plugin on Kibana using the kibana-plugin command, and I am getting the message that No kibana plugins found in archive". I am using Kibana version 7.6.2. Are there any issues installing a new platform plugin using kibana-plugin install? Is there anything I could be missing?

If you are building it locally, from the git repository, you can do so by running yarn build . That will produce the desired plugin archive. Alternatively, you could download the zip from the releases tab. Kibana doesn't currently support building plugin archives, npm run build will create a build of kibana itself.

Thanks
Rashmi