Skip to content

Commit 4f77ef5

Browse files
Merge pull request #149 from coinbase/patrick/prepare-for-release
Prepare for v0.5.7 release
2 parents 129b469 + 53c30db commit 4f77ef5

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

cmd/root.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func rootPreRun(*cobra.Command, []string) error {
6767

6868
f, err := os.Create(cpuProfile)
6969
if err != nil {
70-
return fmt.Errorf("unable to create CPU profile file: %v", err)
70+
return fmt.Errorf("%w: unable to create CPU profile file", err)
7171
}
7272
if err := pprof.StartCPUProfile(f); err != nil {
7373
if err := f.Close(); err != nil {
@@ -101,6 +101,7 @@ func rootPostRun() {
101101
log.Printf("error while creating mem-profile file: %v", err)
102102
return
103103
}
104+
104105
defer func() {
105106
if err := f.Close(); err != nil {
106107
log.Printf("error while closing mem-profile file: %v", err)
@@ -212,6 +213,6 @@ var versionCmd = &cobra.Command{
212213
Use: "version",
213214
Short: "Print rosetta-cli version",
214215
Run: func(cmd *cobra.Command, args []string) {
215-
fmt.Println("v0.5.6")
216+
fmt.Println("v0.5.7")
216217
},
217218
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli
33
go 1.13
44

55
require (
6-
github.com/coinbase/rosetta-sdk-go v0.4.8
6+
github.com/coinbase/rosetta-sdk-go v0.4.9
77
github.com/fatih/color v1.9.0
88
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a
99
github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ github.com/coinbase/rosetta-sdk-go v0.4.7 h1:5KFc0CgLMkKamX++hYUFvE58a5/tCn0wSqp
160160
github.com/coinbase/rosetta-sdk-go v0.4.7/go.mod h1:8d4iN4VSGvLUzl+jRQlvYSLyS9TeY0QZebneWouizqU=
161161
github.com/coinbase/rosetta-sdk-go v0.4.8 h1:+E1TM4q1c5/x/jE9FPI1IZIbNvUWy4tRRgDPLnKzUV4=
162162
github.com/coinbase/rosetta-sdk-go v0.4.8/go.mod h1:8d4iN4VSGvLUzl+jRQlvYSLyS9TeY0QZebneWouizqU=
163+
github.com/coinbase/rosetta-sdk-go v0.4.9 h1:Agy5+jrREo4Fa/0Jl0KEOvJDUxaImuCMD0qOxGiUwb4=
164+
github.com/coinbase/rosetta-sdk-go v0.4.9/go.mod h1:8d4iN4VSGvLUzl+jRQlvYSLyS9TeY0QZebneWouizqU=
163165
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
164166
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
165167
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=

0 commit comments

Comments
 (0)