on main help sign in
chore(taskfile): enhance `deps` task to work for recent releases
aa253c5Andrey Nering
Taskfile.yaml+7−2
@@ -180,9 +180,14 @@ tasks:
180
180
181 deps:
181 deps:
182 desc: Update Fantasy and Catwalk
182 desc: Update Fantasy and Catwalk
183+ env:
184+ # The Go proxy takes a bit of time to see the latest release. Setting
185+ # these bypass it to ensure we can update to a release from a minute ago.
186+ GOPROXY: direct
187+ GONOSUMDB: charm.land/*
183 cmds:
188 cmds:
184− - go get charm.land/fantasy
189+ - go get charm.land/fantasy@latest
185− - go get charm.land/catwalk
190+ - go get charm.land/catwalk@latest
186 - go mod tidy
191 - go mod tidy
187
192
188 sqlc:
193 sqlc: