kcl-lang.io/kpm@v0.8.7-0.20240520061008-9fc4c5efc8c7/.goreleaser.yml (about)

     1  # This is an example .goreleaser.yml file with some sane defaults.
     2  # Make sure to check the documentation at http://goreleaser.com
     3  before:
     4    hooks:
     5      # You may remove this if you don't use go modules.
     6      - go mod tidy
     7  
     8  # .goreleaser.yml
     9  builds:
    10    - id: "kpm"
    11      main: ./kpm.go
    12      goos:
    13        - darwin
    14        - linux
    15        - windows
    16      goarch:
    17        - amd64
    18        - arm64
    19      env:
    20        - CGO_ENABLED=0
    21      ldflags:
    22        - "-X kcl-lang.io/kpm/pkg/version.version={{.Version}}"