Skip to content

Commit

Permalink
remove cli from release
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-omris committed May 4, 2022
1 parent c44df87 commit 365967e
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,6 @@ before:
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
builds:
- main: ./cmd
id: inext
env:
# goreleaser does not work with CGO, it could also complicate
# usage by users in CI/CD systems like Terraform Cloud where
# they are unable to install libraries.
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- freebsd
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: 'inext'
- id: provider
env:
# goreleaser does not work with CGO, it could also complicate
Expand All @@ -57,27 +31,13 @@ builds:
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- id: inext
format: binary
name_template: 'inext_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
builds:
- inext
- id: provider
format: zip
files:
- none*
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
builds:
- provider
nfpms:
- builds:
- inext
file_name_template: 'inext_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
package_name: 'inext'
formats:
- apk
- deb
- rpm
checksum:
extra_files:
- glob: 'terraform-registry-manifest.json'
Expand Down

0 comments on commit 365967e

Please sign in to comment.