Fix version references

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2019-12-17 00:44:56 +01:00
parent 867cba610b
commit 17d0fe96a4
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ func (ts *testSuite) testVersion(t *testing.T) {
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
if v.Version != build.Version { if v.Version != build.BuildVersion {
t.Error("Version didn't work properly") t.Error("Version didn't work properly")
} }
} }

View File

@ -25,7 +25,7 @@ func main() {
app := &cli.App{ app := &cli.App{
Name: "lotus-shed", Name: "lotus-shed",
Usage: "A place for all the lotus tools", Usage: "A place for all the lotus tools",
Version: build.Version, Version: build.BuildVersion,
Commands: local, Commands: local,
} }