2018-09-10 15:10:50 +03:00
---
title: Bintray
---
## How it works
2020-07-25 19:05:51 +01:00
Uploading to Bintray is a simple case of [using HTTP Upload ](https://goreleaser.com/customization/upload/ ).
2018-09-10 15:10:50 +03:00
### Pre and post requisites:
* Create a user and/or an org in Bintray
* Create a generic repository in Bintray
* Create a package with a name matching your `ProjectName`
* After publishing, dont' forget to publish the uploaded files (either via UI or [REST API ](https://bintray.com/docs/api/#_publish_discard_uploaded_content ))
```yaml
2020-07-25 19:05:51 +01:00
uploads:
2018-09-10 15:10:50 +03:00
- name: bintray
target: https://api.bintray.com/content/user.or.org.name/generic.repo.name/{{ .ProjectName }}/{{ .Version }}/
username: goreleaser
```
2020-07-25 19:05:51 +01:00
Please see [HTTP Upload ](https://goreleaser.com/customization/upload/ ) for more details.