version: 2
project_name: tfplugingen-framework
builds:
- main: ./cmd/tfplugingen-framework
  env:
  - CGO_ENABLED=0
  mod_timestamp: '{{ .CommitTimestamp }}'
  flags:
  - -trimpath
  ldflags:
  - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
  goos:
  - windows
  - linux
  - darwin
  goarch:
  - amd64
  - arm64
  binary: '{{ .ProjectName }}'
archives:
- format: zip
  name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
  name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
  algorithm: sha256
milestones:
  - close: true
release: