Skip to content

Commit

Permalink
Merge pull request #292 from anandrgitnirman/pp
Browse files Browse the repository at this point in the history
#280, be consistent with other build script of Daemon
  • Loading branch information
anandrgitnirman authored Jun 11, 2019
2 parents ff73152 + ca42079 commit dac4e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-xgo
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ now=$(date +'%Y-%m-%d_%T')
#latest version tag is passed as a param to this script.
TARGETS=linux/amd64,linux/arm-6,darwin-10.6/amd64,windows/amd64
registryAddressJson=`cat resources/blockchain/node_modules/singularitynet-platform-contracts/networks/Registry.json|sed -r 's/["]+/\\"/g'|tr '\n' ' '`
networkIdNameMapping=`cat resources/blockchain_network_config.json|tr '\n' ' '|sed -r 's/["]+/\\"/g'`
networkJson=`cat resources/blockchain_network_config.json|tr '\n' ' '|sed -r 's/["]+/\\"/g'|sed 's/ //g'`
xgo -dest build -go $GO_VERSION -ldflags "-X github.com/singnet/snet-daemon/config.sha1Revision=`git rev-parse HEAD`
-X github.com/singnet/snet-daemon/config.versionTag=$1
-X github.com/singnet/snet-daemon/config.buildTime=$now
Expand Down

0 comments on commit dac4e28

Please sign in to comment.