Skip to content

Commit 66444a1

Browse files
committed
Forgot to switch back to vendoring more - correcting.
1 parent b1b41b8 commit 66444a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Taskfile.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ tasks:
138138
label: go-build-{{.PACKAGE}}-{{.TARGET}}-{{.FLAGS}}
139139
env: {GOOS: '{{default "linux" .GOOS}}', GOARCH: '{{default "amd64" .GOARCH}}'}
140140
vars:
141-
# {{- if hasPrefix "debug" .FLAGS }}-mod=mod{{ else if hasPrefix "release" .FLAGS }}-mod=vendor{{ else }}
142141
GOARGS: |
143-
{{- if hasPrefix "debug" .FLAGS }}-mod=mod{{ else if hasPrefix "release" .FLAGS }}-mod=mod{{ else }}
142+
{{- if hasPrefix "debug" .FLAGS }}-mod=mod{{ else if hasPrefix "release" .FLAGS }}-mod=vendor{{ else }}
144143
{{fail "go build flags could be \"debug\" or \"release\" only!"}}
145144
{{ end }} -trimpath{{ if hasSuffix "-gui" .FLAGS }} -ldflags='-H=windowsgui'{{ end -}}
146145
cmds:

0 commit comments

Comments
 (0)