github.com/oalders/ppath@v0.1.1/.goreleaser.yml (about)

     1  ---
     2  project_name: 'ppath'
     3  
     4  env:
     5    - 'GO111MODULE=on'
     6  
     7  before:
     8    hooks:
     9      - 'go mod tidy'
    10  
    11  builds:
    12    - id: 'ppath'
    13      main: 'main.go'
    14      binary: 'ppath'
    15      goos:
    16        - 'darwin'
    17        - 'linux'
    18        - 'windows'
    19      ignore:
    20        - goos: 'darwin'
    21          goarch: '386'
    22  
    23  archives:
    24    - id: 'ppath'
    25      builds:
    26        - 'ppath'
    27      wrap_in_directory: true
    28      format_overrides:
    29        - goos: windows
    30          format: zip
    31      files:
    32        - 'CHANGELOG.md'
    33        - 'LICENSE-APACHE'
    34        - 'LICENSE-MIT'
    35        - 'README.md'
    36  
    37  checksum:
    38    name_template: 'checksums.txt'
    39  
    40  snapshot:
    41    name_template: '{{ .Tag }}-next'
    42  
    43  changelog:
    44    skip: true
    45  
    46  nfpms:
    47    -
    48      id: 'ppath'
    49      package_name: ppath
    50      builds:
    51        - 'ppath'
    52      vendor: 'Olaf Alders'
    53      homepage: 'https://www.olafalders.com/'
    54      maintainer: 'Olaf Alders <https://github.com/oalders>'
    55      description: 'Lint included and excluded paths in a precious config file.'
    56      license: 'Apache 2.0 or MIT'
    57      provides:
    58        - ppath
    59      formats:
    60        - 'deb'
    61        - 'rpm'
    62      bindir: '/usr/bin'
    63      contents:
    64        - src: 'CHANGELOG.md'
    65          dst: '/usr/share/doc/ppath/CHANGELOG.md'
    66        - src: 'LICENSE-APACHE'
    67          dst: '/usr/share/doc/ppath/LICENSE-APACHE'
    68        - src: 'LICENSE-MIT'
    69          dst: '/usr/share/doc/ppath/LICENSE-MIT'
    70        - src: 'README.md'
    71          dst: '/usr/share/doc/ppath/README.md'