1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00
2020-07-25 15:05:51 -03:00

23 lines
747 B
Markdown

---
title: Bintray
---
## How it works
Uploading to Bintray is a simple case of [using HTTP Upload](https://goreleaser.com/customization/upload/).
### 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
uploads:
- name: bintray
target: https://api.bintray.com/content/user.or.org.name/generic.repo.name/{{ .ProjectName }}/{{ .Version }}/
username: goreleaser
```
Please see [HTTP Upload](https://goreleaser.com/customization/upload/) for more details.