Open simar7 opened 1 year ago
Bug Description Mage builds don't seem to account for replace directives at all times.
What did you do? mage build with a go.mod file that has replace directive inside.
mage build
replace github.com/foo/bar => github.com/bar/baz
What did you expect to happen?
Each mage build should produce a new binary artifact each time.
What actually happened?
Replace directives were ignored. This was verified by running a simple go build command.
go build
Environment
$ mage --version Mage Build Tool 1.14.0 Build Date: 2022-09-16T14:33:53Z Commit: 300bbc8 built with: go1.19.1
Bug Description Mage builds don't seem to account for replace directives at all times.
What did you do?
mage build
with a go.mod file that has replace directive inside.What did you expect to happen?
Each
mage build
should produce a new binary artifact each time.What actually happened?
Replace directives were ignored. This was verified by running a simple
go build
command.Environment