fixed version releaser

This commit is contained in:
Vito Castellano 2025-01-28 23:49:20 +01:00
commit 5ba04023cb
No known key found for this signature in database
GPG key ID: CECE2FCDCCF84942
2 changed files with 4 additions and 4 deletions

View file

@ -8,9 +8,10 @@ builds:
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X 'bbrew/internal/services.AppName={{ .ProjectName }}'
- -X 'bbrew/internal/services.AppVersion={{ .Version }}'
archives:
- format: tar.gz

View file

@ -6,13 +6,12 @@ import (
"github.com/gdamore/tcell/v2"
_ "github.com/joho/godotenv/autoload"
"github.com/rivo/tview"
"os"
"strings"
)
var (
AppName = os.Getenv("APP_NAME")
AppVersion = os.Getenv("APP_VERSION")
AppName = "Bold Brew"
AppVersion = "0.0.1"
)
type AppServiceInterface interface {