Skip to content

Commit

Permalink
Made goreleaser to use vendor folder
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosueiras committed Feb 17, 2020
1 parent f71fc7f commit 1d7486f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ scoop:
.Tag }}/{{ .ArtifactName }}
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- goos:
- linux
Expand All @@ -32,6 +29,8 @@ builds:
- -s -w -X main.Version={{.Version}} -X main.GitCommit={{.FullCommit}} -X main.Date={{.Date}}
binary: terraform-lsp
lang: go
flags:
- -mod vendor
archives:
- id: terraform-lsp
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
Expand Down

0 comments on commit 1d7486f

Please sign in to comment.