From b38dfbb86e984449f7bc15048b467ced56501430 Mon Sep 17 00:00:00 2001 From: Jordan Cohen <31041063+jordan-da@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:29:28 -0500 Subject: [PATCH] adding jsonnet-deps to release (#667) Co-authored-by: Jordan Cohen --- .goreleaser.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index a90eb8be..4faaaf0e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -61,6 +61,25 @@ builds: main: ./cmd/jsonnet-lint binary: jsonnet-lint + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 + ignore: + - goos: darwin + goarch: 386 + + id: jsonnet-deps + main: ./cmd/jsonnet-deps + binary: jsonnet-deps + archives: - replacements: @@ -122,3 +141,19 @@ nfpms: conflicts: # See: https://packages.ubuntu.com/jsonnet - jsonnet-lint + - id: jsonnet-deps + package_name: jsonnet-deps-go + builds: + - jsonnet-deps + homepage: https://github.com/google/go-jsonnet + license: Apache 2.0 + formats: + - deb + bindir: /usr/bin + maintainer: David Cunningham + file_name_template: " jsonnet-deps-go_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + overrides: + deb: + conflicts: + # See: https://packages.ubuntu.com/jsonnet + - jsonnet-deps