Merge pull request #8675 from filecoin-project/jen/devnet

chore: bundle: make devnet get the right bundle
This commit is contained in:
vyzo 2022-05-18 18:38:38 +03:00 committed by GitHub
commit cd2a998980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ build-devnets: build lotus-seed lotus-shed lotus-wallet lotus-gateway
.PHONY: build-devnets .PHONY: build-devnets
debug: GOFLAGS+=-tags=debug debug: GOFLAGS+=-tags=debug
debug: GOFLAGS+=-ldflags=-X=github.com/filecoin-project/lotus/build.NetworkBundle=devnet
debug: build-devnets debug: build-devnets
2k: GOFLAGS+=-tags=2k 2k: GOFLAGS+=-tags=2k

View File

@ -10,7 +10,7 @@ var NetworkBundle string
func GetNetworkBundle() string { func GetNetworkBundle() string {
switch NetworkBundle { switch NetworkBundle {
case "devnet": case "devnet", "2k", "debug":
return "devnet" return "devnet"
case "calibnet", "calibrationnet": case "calibnet", "calibrationnet":
return "calibrationnet" return "calibrationnet"