homebridge / homebridge-plugin-template

A template you can use to create your own Homebridge plugins.
https://developers.homebridge.io/
Apache License 2.0
315 stars 135 forks source link

Incorrect command to publish beta #75

Open justjam2013 opened 2 weeks ago

justjam2013 commented 2 weeks ago

Describe The Bug: The plugin template README says:

# publish to @beta npm publish --tag=beta

However that "=" causes npm to publish with tag latest.

Expected behavior: The correct command should be:

npm publish --tag beta
NorthernMan54 commented 1 week ago

I'm thinking this would be better if it leveraged the auto publish feature similar to what we do with Homebridge-config-ui and others

justjam2013 commented 1 week ago

I agree. One of the requirements for validation is creating releases, so publishing from github when a release is created, kills two birds with one stone. I have separate github actions that publish to beta and to latest, that I would be happy to contribute.