[build] Defaults build 1.7.x instead of v2

The default (master) branch, tries to build using traefik v1.7.x interfaces instead of v2.x.
Passing the VERSION or CODENAME arguments to the make binary command doesn't help.
Anyone know how to fix this?

Error is:

---> Making bundle: generate (in /go/src/github.com/containous/traefik/script)
go: finding github.com/containous/traefik v1.7.18
go: downloading github.com/containous/traefik v1.7.18
go: extracting github.com/containous/traefik v1.7.18
build github.com/containous/traefik/v2/internal: cannot load github.com/containous/traefik/v2/pkg/health/health: module
 github.com/containous/traefik@latest (v1.7.18) found, but does not contain package github.com/containous/traefik/v2/pk
g/health/health

(my new module is called health)

I've tried poking in the scripts/generate file, but nothing seems to work. It looks like the go bundle system is failing here.

hello,

with go modules the current package of Traefik is github.com/containous/traefik/v2 and not github.com/containous/traefik

Check your code :wink: