When using WithEnterpriseURLs with GitHub Enterprise Cloud (hosted at company.ghe.com), the Upload URL seems to get messed up:
The upload URL returned by the create release endpoint is of form:
https://uploads.<company>.ghe.com/repos/<org>/<repo>/releases/<releaseId>/assets
due to the fact that this neither start with api. or contains .api. or ends with /api/uploads, the /api/uploads suffix is added here which breaks the URL
I guess adding an additional check for uploads. prefix should be an easy fix?