mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Add version
This commit is contained in:
parent
d318e68423
commit
3b448c3ad1
2 changed files with 4 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -20,6 +20,7 @@ func NewApp() *cli.App {
|
|||
app := cli.NewApp()
|
||||
app.Name = "dbmate"
|
||||
app.Usage = "A lightweight, framework-independent database migration tool."
|
||||
app.Version = Version
|
||||
|
||||
app.Flags = []cli.Flag{
|
||||
cli.StringFlag{
|
||||
|
|
|
|||
3
version.go
Normal file
3
version.go
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
package main
|
||||
|
||||
const Version = "0.1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue