# .goreleaser.yml
# Build customization
builds:
  - binary: myaws
    goos:
      - darwin
      - linux
    goarch:
      - amd64
    env:
      - CGO_ENABLED=0
archives:
  - name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
    files:
      - none*
release:
  prerelease: auto
changelog:
  filters:
    exclude:
      - Merge pull request
      - Merge branch
      - Update README
      - Update CHANGELOG
brews:
  - tap:
      owner: minamijoyo
      name: homebrew-myaws
      token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
    commit_author:
      name: "Masayuki Morita"
      email: minamijoyo@gmail.com
    homepage: https://github.com/minamijoyo/myaws
    description: "A human friendly AWS CLI written in Go"
    skip_upload: auto
    test: |
      system "#{bin}/myaws version"
    install: |
      bin.install "myaws"
      output = Utils.popen_read("#{bin}/myaws completion bash")
      (bash_completion/"myaws").write output
      output = Utils.popen_read("#{bin}/myaws completion zsh")
      (zsh_completion/"_myaws").write output

# .goreleaser.yml
# Build customization
builds:
  - binary: myaws
    goos:
      - darwin
      - linux
    goarch:
      - amd64
      - arm64
    env:
      - CGO_ENABLED=0
archives:
  - name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
    files:
      - none*
release:
  prerelease: auto
changelog:
  filters:
    exclude:
      - Merge pull request
      - Merge branch
      - Update README
      - Update CHANGELOG
brews:
  - tap:
      owner: minamijoyo
      name: homebrew-myaws
      token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
    commit_author:
      name: "Masayuki Morita"
      email: minamijoyo@gmail.com
    homepage: https://github.com/minamijoyo/myaws
    description: "A human friendly AWS CLI written in Go"
    skip_upload: auto
    test: |
      system "#{bin}/myaws version"
    install: |
      bin.install "myaws"
      output = Utils.popen_read("#{bin}/myaws completion bash")
      (bash_completion/"myaws").write output
      output = Utils.popen_read("#{bin}/myaws completion zsh")
      (zsh_completion/"_myaws").write output

Add release target to arm64 architecture
Add release target to arm64 architecture
