We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for example, see release done via web ui: https://api.github.com/repos/DomainDrivenArchitecture/smeagol/releases/14283686 one asset has content_type: "application/x-java-archive"
content_type: "application/x-java-archive"
another release done via hub: https://api.github.com/repos/DomainDrivenArchitecture/smeagol/releases/14536031 has content_type: "application/octet-stream"
content_type: "application/octet-stream"
I think there should be a way to specify this (maybe via cmd flag)
The text was updated successfully, but these errors were encountered:
Good catch!
https://github.com/github/hub/blob/d89b5c6fe4180ebab8c12f9c7d663ce7621164c8/github/http.go#L311
I'm open to ideas
Sorry, something went wrong.
@mislav we can also detect it using https://github.com/gabriel-vasile/mimetype (since https://github.com/h2non/filetype has issues with container type, e.g. jar) - what do you prefer?
No branches or pull requests
for example, see release done via web ui: https://api.github.com/repos/DomainDrivenArchitecture/smeagol/releases/14283686
one asset has
content_type: "application/x-java-archive"
another release done via hub: https://api.github.com/repos/DomainDrivenArchitecture/smeagol/releases/14536031
has
content_type: "application/octet-stream"
I think there should be a way to specify this (maybe via cmd flag)
The text was updated successfully, but these errors were encountered: