github.com/fitzix/goreleaser@v0.92.0/www/content/scoop.md (about) 1 --- 2 title: Scoop 3 series: customization 4 hideFromIndex: true 5 weight: 100 6 --- 7 8 After releasing to GitHub, GoReleaser can generate and publish a 9 _Scoop App Manifest_ into a repository that you have access to. 10 11 The `scoop` section specifies how the manifest should be created. See 12 the commented example bellow: 13 14 ```yml 15 # .goreleaser.yml 16 scoop: 17 # Template for the url. 18 # Default is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}" 19 url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}" 20 21 # Repository to push the app manifest to. 22 bucket: 23 owner: user 24 name: scoop-bucket 25 26 # Git author used to commit to the repository. 27 # Defaults are shown. 28 commit_author: 29 name: goreleaserbot 30 email: goreleaser@carlosbecker.com 31 32 # Your app's homepage. 33 # Default is empty. 34 homepage: "https://example.com/" 35 36 # Your app's description. 37 # Default is empty. 38 description: "Software to create fast and easy drum rolls." 39 40 # Your app's license 41 # Default is empty. 42 license: MIT 43 44 # Persist data between application updates 45 persist: 46 - "data" 47 - "config.toml" 48 ``` 49 50 By defining the `scoop` section, GoReleaser will take care of publishing the 51 Scoop app. Assuming that the project name is `drumroll` and the current tag is 52 `v1.2.3`, the above configuration will generate a `drumroll.json` manifest in 53 the root of the repository specified in the `bucket` section. 54 55 ```json 56 { 57 "version": "1.2.3", 58 "architecture": { 59 "64bit": { 60 "url": 61 "https://github.com/user/drumroll/releases/download/1.2.3/drumroll_1.2.3_windows_amd64.tar.gz", 62 "bin": "drumroll.exe", 63 "hash": "86920b1f04173ee08773136df31305c0dae2c9927248ac259e02aafd92b6008a" 64 }, 65 "32bit": { 66 "url": 67 "https://github.com/user/drumroll/releases/download/1.2.3/drumroll_1.2.3_windows_386.tar.gz", 68 "bin": "drumroll.exe", 69 "hash": "283faa524ef41987e51c8786c61bb56658a489f63512b32139d222b3ee1d18e6" 70 } 71 }, 72 "homepage": "https://example.com/" 73 } 74 ``` 75 76 Your users can then install your app by doing: 77 78 ```sh 79 scoop bucket add app https://github.com/org/repo.git 80 scoop install app 81 ``` 82 83 You can check the 84 [Scoop documentation](https://github.com/lukesampson/scoop/wiki) for more 85 details.