dineshba / tf-summarize

A command-line utility to print the summary of the terraform plan
MIT License
527 stars 38 forks source link

Use idiomatic `.tar.gz` archive format for linux & darwin artifacts #52

Closed stevehipwell closed 1 year ago

stevehipwell commented 1 year ago

Firstly, thanks for a great project.

It looks like your GoReleaser config is setting all archives to .zip format instead of just the Windows archives as would be idiomatic. This means that additional tools need to be installed and non-standard patterns need to be used to install this on a Linux machine.

My suggestion would be to change the archive configuration from:

archives:
  - format: zip
    name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'

To:

archives:
  - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
    format_overrides:
      - goos: windows
        format: zip
dineshba commented 1 year ago

Thanks for this great input @stevehipwell

Fixed with https://github.com/dineshba/tf-summarize/pull/55 and created a new release: https://github.com/dineshba/tf-summarize/releases/tag/v0.3.6