From c035564d1f39b8840d0e2bced5b3f69383b73803 Mon Sep 17 00:00:00 2001 From: Daniel Merrill Date: Thu, 11 Jun 2020 09:56:54 -0400 Subject: [PATCH] Update goreleaser --- .goreleaser.yml | 4 ++-- cmd/installer/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a09e9005..4c886ea2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ builds: env: - CGO_ENABLED=0 main: ./cmd/space-poc/main.go - binary: space + binary: space-poc goos: - darwin - linux @@ -23,7 +23,7 @@ builds: - darwin - linux archives: -- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' +- name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}' format: binary replacements: darwin: Darwin diff --git a/cmd/installer/main.go b/cmd/installer/main.go index 5b255d74..944c5644 100644 --- a/cmd/installer/main.go +++ b/cmd/installer/main.go @@ -121,7 +121,7 @@ func main() { _, err = envFile.WriteString("TXL_USER_KEY=" + textileUserKey + "\nTXL_USER_SECRET=" + textileUserSecret + "\nLOG_LEVEL=DEBUG\n") checkErr(err) - fmt.Println("Space Daemon installed successfully") + fmt.Println("Space Daemon installed successfully. Run ./space to start it.") } func DownloadFile(filepath string, url string) error {