File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 66	"fmt" 
77	"os/exec" 
88	"path/filepath" 
9+ 	"strings" 
910
1011	"github.com/pkg/errors" 
1112	"github.com/tendermint/starport/starport/pkg/cmdrunner" 
@@ -48,13 +49,13 @@ func (c *Chain) buildSteps() (steps step.Steps, err error) {
4849		return  nil , err 
4950	}
5051
51- 	ldflags  :=  fmt .Sprintf (`-X github.com/cosmos/cosmos-sdk/version.Name=NewApp  
52- -X github.com/cosmos/cosmos-sdk/version.ServerName=%sd 
53- -X github.com/cosmos/cosmos-sdk/version.ClientName=%scli 
54- -X github.com/cosmos/cosmos-sdk/version.Version=%s 
55- -X github.com/cosmos/cosmos-sdk/version.Commit=%s 
56- -X %s/cmd/%s/cmd.ChainID=%s` ,
57- 		c .app .Name ,
52+ 	ldflags  :=  fmt .Sprintf (`-X github.com/cosmos/cosmos-sdk/version.Name=%[1]s  
53+ -X github.com/cosmos/cosmos-sdk/version.ServerName=%[2] sd 
54+ -X github.com/cosmos/cosmos-sdk/version.ClientName=%[2] scli 
55+ -X github.com/cosmos/cosmos-sdk/version.Version=%[3] s 
56+ -X github.com/cosmos/cosmos-sdk/version.Commit=%[4] s 
57+ -X %[5] s/cmd/%[6] s/cmd.ChainID=%[7] s` ,
58+ 		strings . Title ( c .app .Name ) ,
5859		c .app .Name ,
5960		c .sourceVersion .tag ,
6061		c .sourceVersion .hash ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments