github.com/szyn/goreleaser@v0.76.1-0.20180517112710-333da09a1297/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    # Repository to push the app manifest to.
    18    bucket:
    19      owner: user
    20      name: scoop-bucket
    21  
    22    # Git author used to commit to the repository.
    23    # Defaults are shown.
    24    commit_author:
    25      name: goreleaserbot
    26      email: goreleaser@carlosbecker.com
    27  
    28    # Your app's homepage.
    29    # Default is empty.
    30    homepage: "https://example.com/"
    31  
    32    # Your app's description.
    33    # Default is empty.
    34    description: "Software to create fast and easy drum rolls."
    35  
    36    # Your app's license
    37    # Default is empty.
    38    license: MIT
    39  ```
    40  
    41  By defining the `scoop` section, GoReleaser will take care of publishing the
    42  Scoop app. Assuming that the project name is `drumroll` and the current tag is
    43  `v1.2.3`, the above configuration will generate a `drumroll.json` manifest in
    44  the root of the repository specified in the `bucket` section.
    45  
    46  ```json
    47  {
    48    "version": "1.2.3",
    49    "architecture": {
    50      "64bit": {
    51        "url":
    52          "https://github.com/user/drumroll/releases/download/1.2.3/drumroll_1.2.3_windows_amd64.tar.gz",
    53        "bin": "drumroll.exe"
    54      },
    55      "32bit": {
    56        "url":
    57          "https://github.com/user/drumroll/releases/download/1.2.3/drumroll_1.2.3_windows_386.tar.gz",
    58        "bin": "drumroll.exe"
    59      }
    60    },
    61    "homepage": "https://example.com/"
    62  }
    63  ```
    64  
    65  Your users can then install your app by doing:
    66  
    67  ```sh
    68  scoop bucket add app https://github.com/org/repo.git
    69  scoop install app
    70  ```
    71  
    72  You can check the
    73  [Scoop documentation](https://github.com/lukesampson/scoop/wiki) for more
    74  details.