mirror of
https://github.com/vbatts/tar-split.git
synced 2025-08-01 20:00:29 +00:00
*: adding some version magic
This commit is contained in:
parent
c76e42010e
commit
4f81319c22
3 changed files with 13 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
// go:generate git tag | tail -1
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -6,13 +5,14 @@ import (
|
|||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/codegangsta/cli"
|
||||
"github.com/vbatts/tar-split/version"
|
||||
)
|
||||
|
||||
func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "tar-split"
|
||||
app.Usage = "tar assembly and disassembly utility"
|
||||
app.Version = "0.9.2"
|
||||
app.Version = version.VERSION
|
||||
app.Author = "Vincent Batts"
|
||||
app.Email = "vbatts@hashbangbash.com"
|
||||
app.Action = cli.ShowAppHelp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue