# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
project_name: localdev
builds:
  - env:
      - CGO_ENABLED=0
    goos:
      - linux
      - windows
      - darwin
    dir: cli
    flags:
      - -v
    tags:
      - osusergo
      - netgo
    goarch:
      - amd64
    main: ./localdev/main.go
    ldflags:
      - -s -w -X github.com/contiamo/dev/cli/config.GitCommit={{ .Commit }} -X github.com/contiamo/dev/cli/config.Version={{.Version}}
archives:
- format: binary
checksum:
  name_template: 'checksums.txt'
snapshot:
  name_template: "{{ incpatch .Version }}-next"
changelog:
  skip: true
