github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/.goreleaser.yml (about)

     1  
     2  before:
     3    hooks:
     4      - go mod tidy
     5  builds:
     6    - env:
     7        - CGO_ENABLED=0
     8        - GO111MODULE=on
     9      goos:
    10        - linux
    11        - darwin
    12      goarch:
    13        - amd64
    14        - arm64
    15  
    16      id: "steampipe"
    17      binary:
    18        'steampipe'
    19  archives:
    20    - files:
    21      - none*
    22      format: zip
    23      id: homebrew
    24      name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
    25      format_overrides:
    26      - goos: linux
    27        format: tar.gz
    28  
    29  nfpms:
    30    - id: "steampipe"
    31      builds: ['steampipe']
    32      formats:
    33        - deb
    34        - rpm
    35      vendor: "steampipe.io"
    36      homepage: "https://steampipe.io/"
    37      maintainer: "Turbot Support <help@turbot.com>"
    38      description: "Use SQL to instantly query your cloud services (AWS, Azure, GCP and more). Open source CLI. No DB required."
    39      file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
    40      rpm:
    41        summary: "Use SQL to instantly query your cloud services (AWS, Azure, GCP and more). Open source CLI. No DB required."
    42  
    43  # it is necessary to specify the name_template of the snapshot, or else the snapshot gets created with
    44  # two dash(-) which results in a 500 error while downloading
    45  snapshot:
    46    name_template: '{{ .Version }}'
    47  
    48  # snapcrafts:
    49  #   - id: "steampipe"
    50  #     builds: ['steampipe']
    51  #     description: "Use SQL to instantly query your cloud services (AWS, Azure, GCP and more). Open source CLI. No DB required."
    52  #     summary: "Snap package"
    53  #     name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
    54  
    55  checksum:
    56    name_template: 'checksums.txt'
    57  release:
    58    # Visit your project's GitHub Releases page to publish this release.
    59    draft: true
    60  changelog:
    61    skip: true
    62  
    63  brews:
    64    -
    65      ids:
    66        - homebrew
    67      name: steampipe@{{ .Major }}.{{ .Minor }}.{{ .Patch }}
    68      tap:
    69        owner: turbot
    70        name: homebrew-tap
    71        branch: bump-brew
    72      folder: Formula
    73      url_template: "https://github.com/turbot/steampipe/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
    74      homepage: "https://steampipe.io/"
    75      description: "Steampipe exposes APIs and services as a high-performance relational database, giving you the ability to write SQL-based queries to explore, assess and report on dynamic data."
    76      skip_upload: auto
    77      install: |-
    78        bin.install "steampipe"