Skip to content

Commit bc3d4ec

Browse files
committed
fix: update xud version on every compile
This ensures that the version displayed by xud on `GetInfo` calls is updated every time it is compiled, to ensure that the version matches the code that is running. Previously the version was only updated on installation via npm. Fixes #1449.
1 parent 6eec903 commit bc3d4ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"config": "gulp config.create",
1414
"postinstall": "npm run precompile",
1515
"precompile": "node parseGitCommit.js",
16-
"compile": "tsc && cross-os postcompile",
17-
"compile:dev": "tsc --incremental --tsBuildInfoFile ./dist/.tsbuildinfo && cross-os postcompile",
16+
"compile": "npm run precompile && tsc && cross-os postcompile",
17+
"compile:dev": "npm run precompile && tsc --incremental --tsBuildInfoFile ./dist/.tsbuildinfo && cross-os postcompile",
1818
"compile:seedutil": "(cd seedutil && export PATH=\"$PWD/go/bin:$PATH\" && GOPATH=$PWD/go GO111MODULE=on go build -v)",
1919
"compile:watch": "tsc -w",
2020
"dev": "npm run compile:dev && npm start",

0 commit comments

Comments
 (0)