project_name: "keys"
builds:
  - id: keys
    binary: keys
    main: ./keys/main.go
    env:
      - CGO_ENABLED=1
    goos:
      - darwin
      - windows
    goarch:
      - amd64
      - 386
    ignore:
      - goos: darwin
        goarch: 386
    hooks:
      post:
        - ../scripts/codesign.sh {{ .Path }}
  - id: keysd
    main: ./keysd/main.go
    binary: keysd
    env:
      - CGO_ENABLED=1
    goos:
      - darwin
      - windows
    goarch:
      - amd64
      - 386
    ignore:
      - goos: darwin
        goarch: 386
    hooks:
      post: ../scripts/codesign.sh {{ .Path }}
archives:
  - replacements:
      386: i386
      amd64: x86_64
release:
  prerelease: true
changelog:
  skip: true
snapshot:
  name_template: "{{ .Tag }}-next"
