Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
automatically use build tag as version. close #29.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorinvo committed Jan 9, 2017
1 parent acf7957 commit 345975b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import (
"qvl.io/ghbackup/ghbackup"
)

const version = "v1.2"
// Can be set in build step using -ldflags
var version string

const (
// Printed for -help, -h or with wrong number of arguments
Expand Down

0 comments on commit 345975b

Please sign in to comment.