github.com/winebarrel/terraform-provider-lambdazip@v0.6.1-0.20240313233639-361839f8c5c5/.goreleaser.yml (about)

     1  before:
     2    hooks:
     3      - go mod tidy
     4  builds:
     5    - env:
     6        - CGO_ENABLED=0
     7      mod_timestamp: "{{ .CommitTimestamp }}"
     8      flags:
     9        - -trimpath
    10      ldflags:
    11        - "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
    12      goos:
    13        - freebsd
    14        - windows
    15        - linux
    16        - darwin
    17      goarch:
    18        - amd64
    19        - "386"
    20        - arm
    21        - arm64
    22      ignore:
    23        - goos: darwin
    24          goarch: "386"
    25      binary: "{{ .ProjectName }}_v{{ .Version }}"
    26  archives:
    27    - format: zip
    28      name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
    29  checksum:
    30    name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
    31    algorithm: sha256
    32  signs:
    33    - artifacts: checksum
    34      args:
    35        - "--batch"
    36        - "--local-user"
    37        - "{{ .Env.GPG_FINGERPRINT }}"
    38        - "--output"
    39        - "${signature}"
    40        - "--detach-sign"
    41        - "${artifact}"
    42  changelog:
    43    skip: true