github.com/jasei/goreleaser@v0.62.4-0.20180312171904-62cb6a8963a6/docs/122-scoop.md (about)

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