Skip to content

Commit a3ad308

Browse files
committed
chore: release version v1.0
1 parent 4ec3d40 commit a3ad308

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmd/main.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ import (
1212
"github.com/urfave/cli/v2"
1313
)
1414

15+
const (
16+
Version = "1.0"
17+
)
18+
1519
func start(ctx *cli.Context) error {
1620
cfg, err := config.LoadConfig()
1721
if config.IsConfigNotExistsErr(err) {
@@ -49,7 +53,7 @@ func newApp() *cli.App {
4953
app := cli.NewApp()
5054
app.Name = "spofi"
5155
app.Usage = "Control spotify using rofi."
52-
app.Version = "local"
56+
app.Version = Version
5357
app.Commands = []*cli.Command{
5458
setup.Cmd,
5559
}

0 commit comments

Comments
 (0)