github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/clients/go/.goreleaser.yaml (about)

     1  # Make sure to check the documentation at http://goreleaser.com
     2  before:
     3    hooks:
     4      # You may remove this if you don't use go modules.
     5      - go mod tidy
     6  builds:
     7  - skip: true
     8  archives:
     9  - name_template: >-
    10      {{ .ProjectName }}_
    11      {{- title .Os }}_
    12      {{- if eq .Arch "amd64" }}x86_64
    13      {{- else if eq .Arch "386" }}i386
    14      {{- else }}{{ .Arch }}{{ end }}
    15      {{- if .Arm }}v{{ .Arm }}{{ end }}
    16  checksum:
    17    name_template: 'checksums.txt'
    18  snapshot:
    19    name_template: "{{ .Tag }}"
    20  changelog:
    21    skip: true
    22  release:
    23    github:
    24      owner: phrase
    25      name: phrase-go
    26    draft: false
    27    prerelease: auto
    28    name_template: "v{{.Version}}"