github.com/akkaraju-satvik/dbmap@v0.0.3-0.20240414054547-f818701a74f0/.goreleaser.yaml (about)

     1  version: 1
     2  
     3  before:
     4    hooks:
     5      # You may remove this if you don't use go modules.
     6      - go mod tidy
     7  
     8  builds:
     9    - env:
    10        - CGO_ENABLED=0
    11      goos:
    12        - linux
    13        - windows
    14        - darwin
    15  
    16  universal_binaries:
    17    - replace: true
    18  
    19  archives:
    20    - format: tar.gz
    21      # this name template makes the OS and Arch compatible with the results of `uname`.
    22      name_template: >-
    23        {{ .ProjectName }}_
    24        {{- title .Os }}_
    25        {{- if eq .Arch "amd64" }}x86_64
    26        {{- else if eq .Arch "386" }}i386
    27        {{- else }}{{ .Arch }}{{ end }}
    28        {{- if .Arm }}v{{ .Arm }}{{ end }}
    29      # use zip for windows archives
    30      format_overrides:
    31        - goos: windows
    32          format: zip
    33  
    34  changelog:
    35    disable: true