mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
62 lines
1.6 KiB
Markdown
62 lines
1.6 KiB
Markdown
---
|
|
title: Scoop
|
|
---
|
|
|
|
After releasing to GitHub, GoReleaser can generate and publish a _Scoop App
|
|
Manifest_ recipe into a repository that you have access to.
|
|
|
|
The `scoop` section specifies how the formula should be created. You can check
|
|
the [Scoop documentation](https://github.com/lukesampson/scoop/wiki) for more
|
|
details.
|
|
|
|
```yml
|
|
# .goreleaser.yml
|
|
scoop:
|
|
# Repository to push the app manifest to.
|
|
bucket:
|
|
owner: user
|
|
name: scoop-bucket
|
|
|
|
# Git author used to commit to the repository.
|
|
# Defaults are shown.
|
|
commit_author:
|
|
name: goreleaserbot
|
|
email: goreleaser@carlosbecker.com
|
|
|
|
# Your app's homepage.
|
|
# Default is empty.
|
|
homepage: "https://example.com/"
|
|
|
|
# Your app's description.
|
|
# Default is empty.
|
|
description: "Software to create fast and easy drum rolls."
|
|
|
|
# Your app's license
|
|
# Default is empty.
|
|
license: MIT
|
|
```
|
|
|
|
By defining the `scoop` section, GoReleaser will take care of publishing the
|
|
Scoop app. Assuming that the project name is `drumroll` and the current tag is
|
|
`v1.2.3`, the above configuration will generate a `drumroll.json` manifest in
|
|
the root of the repository specified in the `bucket` section.
|
|
|
|
```json
|
|
{
|
|
"version": "1.2.3",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url":
|
|
"https://github.com/user/drumroll/releases/download/1.2.3/drumroll_1.2.3_windows_amd64.tar.gz",
|
|
"bin": "drumroll.exe"
|
|
},
|
|
"32bit": {
|
|
"url":
|
|
"https://github.com/user/drumroll/releases/download/1.2.3/drumroll_1.2.3_windows_386.tar.gz",
|
|
"bin": "drumroll.exe"
|
|
}
|
|
},
|
|
"homepage": "https://example.com/"
|
|
}
|
|
```
|