Skip to content

Commit

Permalink
Add default VARIANT_BUILD_MOD_REPLACE to make `variant export go/bina…
Browse files Browse the repository at this point in the history
…ry` successful
  • Loading branch information
mumoshu committed Oct 29, 2020
1 parent e130c45 commit 5f725bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/app/app_shim.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ func main() {
}

modReplace := os.Getenv("VARIANT_BUILD_MOD_REPLACE")

if modReplace == "" {
// Required until https://github.com/summerwind/whitebox-controller/pull/8 is merged
modReplace = "github.com/summerwind/whitebox-controller@v0.7.1=github.com/mumoshu/whitebox-controller@v0.5.1-0.20201028130131-ac7a0743254b"
}

if modReplace != "" {
_, err = app.execCmd(
Command{
Expand Down

0 comments on commit 5f725bf

Please sign in to comment.