Sweet! I’ve been zipping (releases) locally and uploading them to the release page(s). If you find a Git-centric way to achieve this that doesn’t append anything to the inner directory (ie, my-plugin-master,) I’d love to hear! PS. There’s online docs for the Update Manager.
I’ve just my phone now but tomorrow I’ll post the script I use for releases.
Anyway to get a zip: git archive -o my-plugin.zip HEAD
and then you can use hub to draft (or even to publish) a release with zip file attached.
If you want to exclude something from the zip you can use the file .gitattributes.
Using GitHub features only: if your plugin zip should be the same as the files in the repository, with no build process and no files that you want to leave out, you can let GitHub build the zip file for you: https://github.com/zigpress/zp-disable-users/archive/0.1.0.zip
This is a nice option if you can use it, because it means you don’t have to upload a zip file either.
The “Source code (zip)” link on the release page points to there.