github.com/solo-io/cue@v0.4.7/.goreleaser.yml (about)

     1  project_name: cue
     2  
     3  before:
     4    hooks:
     5      - go mod download
     6  
     7  builds:
     8  - env:
     9    - CGO_ENABLED=0
    10    main: ./cmd/cue
    11    binary: cue
    12    ldflags:
    13      - -s -w
    14      - -X cuelang.org/go/cmd/cue/cmd.version={{.Version}}
    15      # TODO: consider adding the following for a verbose mode
    16      # - -X cuelang.org/go/cmd/cue/cmd.commit={{.ShortCommit}}
    17      # - -X cuelang.org/go/cmd/cue/cmd.date={{.Date}}
    18      # - -X cuelang.org/cmd/cue/cmd.date={{.Env.GOVERSION}}
    19    goos:
    20      # File and Issue to request including other platforms.
    21      - darwin
    22      - linux
    23      - windows
    24    goarch:
    25      - amd64
    26      - arm64
    27  
    28  archives:
    29  - name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
    30    replacements:
    31    files:
    32      - LICENSE
    33      - README.md
    34      - doc/tutorial/**/*
    35      - doc/ref/spec.md
    36    format_overrides:
    37      - goos: windows
    38        format: zip
    39  
    40  release:
    41    disable: false
    42  
    43  checksum:
    44    name_template: 'checksums.txt'
    45  
    46  snapshot:
    47    name_template: "{{ .Tag }}-next"
    48  
    49  changelog:
    50    sort: asc
    51    filters:
    52      exclude:
    53      - '^test:'
    54  
    55  brews:
    56  - tap:
    57      owner: cuelang
    58      name: homebrew-tap
    59    commit_author:
    60      name: cue-bot
    61      email: noreply@cuelang.org
    62    homepage: "https://github.com/cuelang/cue"
    63    description: "CUE is an open source data constraint language which aims to simplify tasks involving defining and using data."
    64    test: |
    65      system "#{bin}/cue version"