github.com/pachyderm/pachyderm@v1.13.4/goreleaser/pachctl.yml (about)

     1  project_name: pachctl
     2  
     3  dist: ../dist-pach/pachctl
     4  
     5  before:
     6    hooks:
     7      - go mod download
     8      - go generate ./...
     9  
    10  builds:
    11    -
    12      id: pachctl
    13      dir: src/server/cmd/pachctl
    14      main: main.go
    15      binary: pachctl
    16      ldflags:
    17        - -X {{ .Env.CLIENT_ADDITIONAL_VERSION }}
    18      gcflags:
    19        - all=-trimpath={{ .Env.PWD }}
    20      env:
    21        - CGO_ENABLED=0
    22      goos:
    23        - linux
    24        - darwin
    25      goarch:
    26        - amd64
    27  
    28  archives:
    29    -
    30      id: pachctl-archives
    31      builds:
    32        - pachctl
    33      format_overrides:
    34        - goos: darwin
    35          format: zip
    36      wrap_in_directory: true
    37      files:
    38        - pachctl*/pachctl
    39  
    40  checksum:
    41    disable: true
    42  
    43  snapshot:
    44    name_template: "{{ .Env.VERSION }}"
    45  
    46  changelog:
    47    skip: false
    48  
    49  nfpms:
    50    -
    51      id: pachctl-deb
    52      package_name: pachctl
    53      file_name_template: "{{ .ProjectName }}_{{ .Env.VERSION }}_{{ .Arch }}"
    54      builds:
    55        - pachctl
    56      replacements:
    57        linux: ""
    58        amd64: amd64
    59      vendor: Pachyderm
    60      homepage: https://www.pachyderm.com/
    61      description: "Reproducible data science"
    62      formats:
    63        - deb
    64      bindir: /usr/bin
    65  
    66  release:
    67    name_template: "{{ .Env.VERSION }}"
    68    prerelease: auto
    69    disable: false