-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GHRelease.uploadAsset() does not work for Github Enterprise #266
Comments
Yes, it's definitely a bug |
@oleg-nenashev Thanks for reply :) I was wondering what would be the good course of action; after reading the release upload API docs, I think we need first to 'ask' for the upload URL (via calling GitHub's API |
I am not sure if it is possible to 'ask' the GitHub API for the default upload URL; that would be great but if not, we need to pass it somehow. refs hub4j#266
Hi, I have created a very simple fix, adding another version of |
using commons-lang's defaultIfNull; also updating javadoc refs hub4j#266
Please see my comment to PR #267 |
the field contains the URL to use to upload the assets. It is formatted in a better way. refs hub4j#266
I just stumbled across this issue, you can not upload assets to Github Enterprise |
looking at source code, the URL for uploading releases is hardcoded to Gighub.com's.
I will attempt to extend it for GitHub Enteprise, using
GitHub.getApiURL()
...The text was updated successfully, but these errors were encountered: