Skip to content

Commit

Permalink
simplify version getting
Browse files Browse the repository at this point in the history
  • Loading branch information
kukymbr committed Aug 27, 2024
1 parent c70eca6 commit 236f9e4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 0 additions & 2 deletions cmd/tgnotifier/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"github.com/spf13/cobra"
)

//go:generate ./version.sh

var opt = tgnotifier.NewOptions()

func main() {
Expand Down
3 changes: 1 addition & 2 deletions cmd/tgnotifier/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package main

// The tgnotifier version, generated in main.go.
const version = "v0.4.2"
const version = "v0.4.4"
13 changes: 0 additions & 13 deletions cmd/tgnotifier/version.sh

This file was deleted.

0 comments on commit 236f9e4

Please sign in to comment.