Skip to content

Commit

Permalink
Fix BuiltOn tag (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-rash authored Mar 14, 2024
1 parent f4ef840 commit 3d19fb5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ builds:
- arm64
goarm:
- 7
ignore:
- goos: windows
ldflags:
- -s -w --X main.VERSION={{.Version}} -X main.COMMIT={{.Commit}} -X main.DATE={{.Date}}

Expand Down
2 changes: 1 addition & 1 deletion internal/globalservice/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (srv *GlobalService) Start(version, commit, date string) error {
slog.Info("Natster Global Service Started",
slog.String("version", version),
slog.String("commit", commit),
slog.String("date", date),
slog.String("build_date", date),
)
return nil
}
Expand Down
3 changes: 1 addition & 2 deletions natster/natster.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"fmt"
"os"
"time"

"github.com/choria-io/fisk"
"github.com/fatih/color"
Expand All @@ -13,7 +12,7 @@ import (
var (
VERSION = "dev"
COMMIT = "none"
DATE = time.Now().Format(time.RFC822)
DATE = ""

Opts = &models.Options{}
HubOpts = &models.HubOptions{}
Expand Down
3 changes: 1 addition & 2 deletions natster_global/natster_global.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"os"
"os/signal"
"syscall"
"time"

"github.com/nats-io/nats.go"
"github.com/synadia-labs/natster/internal/globalservice"
Expand All @@ -15,7 +14,7 @@ import (
var (
VERSION = "dev"
COMMIT = ""
DATE = time.Now().Format(time.RFC822)
DATE = ""
)

func main() {
Expand Down

0 comments on commit 3d19fb5

Please sign in to comment.