Skip to content

Commit

Permalink
Mention ldflags so this process isn't a total mystery
Browse files Browse the repository at this point in the history
  • Loading branch information
brandur committed Jul 25, 2017
1 parent b8171ba commit 66b1687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const defaultPort = 6065
// verbose tracks whether the program is operating in verbose mode
var verbose bool

// This is set to the actual version by GoReleaser as it's run. Versions built
// from source will always show master.
// This is set to the actual version by GoReleaser (using `-ldflags "-X ..."`)
// as it's run. Versions built from source will always show master.
var version = "master"

// ---
Expand Down

0 comments on commit 66b1687

Please sign in to comment.