Skip to content

Commit 18e6f97

Browse files
authored
Improved upgrade instructions (#85)
improved upgrade instructions
1 parent 6a7695e commit 18e6f97

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.17.0
1+
v1.17.1

Diff for: version/version.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ func (v *VersionInfo) PromptUpdateIfAvailable() {
4545
if v.IsOutdated {
4646
fmt.Fprintln(os.Stderr, "A new version of the bootdev CLI is available!")
4747
fmt.Fprintln(os.Stderr, "Please run the following command to update:")
48-
fmt.Fprintf(os.Stderr, " bootdev upgrade\n\n")
48+
fmt.Fprintln(os.Stderr, " bootdev upgrade")
49+
fmt.Fprintln(os.Stderr, "or")
50+
fmt.Fprintf(os.Stderr, " go install github.com/bootdotdev/bootdev@%s\n\n", v.LatestVersion)
4951
}
5052
}
5153

0 commit comments

Comments
 (0)