Skip to content

Commit

Permalink
using ldflags to set version information
Browse files Browse the repository at this point in the history
  • Loading branch information
taranovegor committed Jun 25, 2024
1 parent 0e16042 commit 2ed3467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"time"
)

const Version = "0.1.1"
var version = "unknown"

//go:embed web/dist
var app embed.FS

func main() {
fmt.Println(fmt.Sprintf("ĵurnalo! Version: %s", Version))
fmt.Println(fmt.Sprintf("ĵurnalo! version: %s", version))

ctn, err := container.Init()
if err != nil {
Expand Down

0 comments on commit 2ed3467

Please sign in to comment.