mirror of
https://github.com/vbatts/tar-split.git
synced 2024-11-15 04:58:36 +00:00
version: move version into the app main
ssssss-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
3cdf99b6d4
commit
95fc9b62ed
3 changed files with 3 additions and 13 deletions
|
@ -5,14 +5,15 @@ import (
|
|||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/urfave/cli"
|
||||
"github.com/vbatts/tar-split/version"
|
||||
)
|
||||
|
||||
var Version = "v0.11.3"
|
||||
|
||||
func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "tar-split"
|
||||
app.Usage = "tar assembly and disassembly utility"
|
||||
app.Version = version.VERSION
|
||||
app.Version = Version
|
||||
app.Author = "Vincent Batts"
|
||||
app.Email = "vbatts@hashbangbash.com"
|
||||
app.Action = cli.ShowAppHelp
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
package version
|
||||
|
||||
// from `go get github.com/vbatts/go-get-version`
|
||||
//go:generate go-get-version -package version -variable VERSION -output version.go
|
|
@ -1,7 +0,0 @@
|
|||
package version
|
||||
|
||||
// AUTO-GENEREATED. DO NOT EDIT
|
||||
// 2016-09-26 19:53:30.825879 -0400 EDT
|
||||
|
||||
// VERSION is the generated version from /home/vbatts/src/vb/tar-split/version
|
||||
var VERSION = "v0.10.1-4-gf280282"
|
Loading…
Reference in a new issue