Skip to content

Commit 31ec1b8

Browse files
committed
Release v0.1.7
1 parent 6a06041 commit 31ec1b8

File tree

5 files changed

+9
-29
lines changed

5 files changed

+9
-29
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BINARY := go-spacemesh
2-
VERSION := 0.0.1
2+
VERSION := 0.1.7
33
COMMIT = $(shell git rev-parse HEAD)
44
SHA = $(shell git rev-parse --short HEAD)
55
CURR_DIR = $(shell pwd)

cmd/node/node.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"github.com/spacemeshos/go-spacemesh/sync"
2727
"github.com/spacemeshos/go-spacemesh/tortoise"
2828
"github.com/spacemeshos/go-spacemesh/turbohare"
29-
"github.com/spacemeshos/go-spacemesh/version"
3029
"github.com/spacemeshos/post/shared"
3130
"go.uber.org/zap"
3231
"io/ioutil"
@@ -97,7 +96,11 @@ var VersionCmd = &cobra.Command{
9796
Use: "version",
9897
Short: "Show version info",
9998
Run: func(cmd *cobra.Command, args []string) {
100-
fmt.Println(version.Version)
99+
fmt.Print(cmdp.Version)
100+
if cmdp.Commit != "" {
101+
fmt.Printf("+%s", cmdp.Commit)
102+
}
103+
fmt.Println()
101104
},
102105
}
103106

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ require (
1919
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect
2020
github.com/spacemeshos/ed25519 v0.0.0-20190530014421-e235766d15a1
2121
github.com/spacemeshos/merkle-tree v0.0.0-20191028110812-1908c3126c82
22-
github.com/spacemeshos/poet v0.0.0-20200211124537-55497a2dff28
22+
github.com/spacemeshos/poet v0.1.0
2323
github.com/spacemeshos/post v0.0.0-20191225190235-dfb8a5803e6d
2424
github.com/spacemeshos/sha256-simd v0.0.0-20190111104731-8575aafc88c9
2525
github.com/spf13/afero v1.2.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ github.com/spacemeshos/merkle-tree v0.0.0-20190612125135-48574fd5f419 h1:h01wKBJ
205205
github.com/spacemeshos/merkle-tree v0.0.0-20190612125135-48574fd5f419/go.mod h1:mPxjt4RONPxSUhxOq4bhSJyKVGQJ0VMSyRiE51dDLgE=
206206
github.com/spacemeshos/merkle-tree v0.0.0-20191028110812-1908c3126c82 h1:FmAao0SylhJiAkJfC1+Ots9SS71b8Upvxx6yoBFqEsY=
207207
github.com/spacemeshos/merkle-tree v0.0.0-20191028110812-1908c3126c82/go.mod h1:mPxjt4RONPxSUhxOq4bhSJyKVGQJ0VMSyRiE51dDLgE=
208-
github.com/spacemeshos/poet v0.0.0-20200211124537-55497a2dff28 h1:o/3Q4QCg4HswsfheFEsrR8guUmScuwfQVfKKsAksxdA=
209-
github.com/spacemeshos/poet v0.0.0-20200211124537-55497a2dff28/go.mod h1:hxca04tOsB0MYhhQ3ydZID9KwlTaJauiKD81GBeNL4s=
208+
github.com/spacemeshos/poet v0.1.0 h1:WYBCUjwvjmITFOwUqXYT/kUF5Z2xJcJjpNoM9SUYl7U=
209+
github.com/spacemeshos/poet v0.1.0/go.mod h1:hxca04tOsB0MYhhQ3ydZID9KwlTaJauiKD81GBeNL4s=
210210
github.com/spacemeshos/post v0.0.0-20191225190235-dfb8a5803e6d h1:P1lqL/7LBg3QmCMBVbFfnhIi7/AOXfJvRg4RKTXkb9I=
211211
github.com/spacemeshos/post v0.0.0-20191225190235-dfb8a5803e6d/go.mod h1:43GwKHD+nI5wUzzUMwRbpJdC2r9dURZ6V3Jkc9eUMSE=
212212
github.com/spacemeshos/sha256-simd v0.0.0-20190111104731-8575aafc88c9 h1:Cc+np6ORem5wrvO+YHQ1sdu71ItiQVRiYB4ugazpgxM=

version/version.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)