We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mage build
replace
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.
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: