diff --git a/.goreleaser.yml b/.goreleaser.yml index 4f6018c..9150a43 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -25,9 +25,9 @@ builds: - all=-trimpath={{.Env.GOPATH}} ldflags: - -s -w - - -X "github.com/criticalstack/crit/pkg/buildinfo.Date={{.Date}}" - - -X "github.com/criticalstack/crit/pkg/buildinfo.GitSHA={{.ShortCommit}}" - - -X "github.com/criticalstack/crit/pkg/buildinfo.Version={{.Tag}}" + - -X "github.com/criticalstack/crit/internal/buildinfo.Date={{.Date}}" + - -X "github.com/criticalstack/crit/internal/buildinfo.GitSHA={{.ShortCommit}}" + - -X "github.com/criticalstack/crit/internal/buildinfo.Version={{.Tag}}" - id: cinder env: - CGO_ENABLED=0 @@ -40,9 +40,9 @@ builds: - all=-trimpath={{.Env.GOPATH}} ldflags: - -s -w - - -X "github.com/criticalstack/crit/pkg/buildinfo.Date={{.Date}}" - - -X "github.com/criticalstack/crit/pkg/buildinfo.GitSHA={{.ShortCommit}}" - - -X "github.com/criticalstack/crit/pkg/buildinfo.Version={{.Tag}}" + - -X "github.com/criticalstack/crit/internal/buildinfo.Date={{.Date}}" + - -X "github.com/criticalstack/crit/internal/buildinfo.GitSHA={{.ShortCommit}}" + - -X "github.com/criticalstack/crit/internal/buildinfo.Version={{.Tag}}" archives: - replacements: darwin: Darwin