From 89c927702da0a6f4a2e94bac51adb9994ae0052d Mon Sep 17 00:00:00 2001 From: Patrick Cronin Date: Sun, 6 Dec 2020 15:50:56 -0500 Subject: [PATCH] Improve/correct goreleaser config --- .goreleaser.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 74dabe4..8a5c12a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,11 +2,12 @@ project_name: 'routesum' before: hooks: + - 'go mod download' - 'go mod tidy' builds: - id: 'routesum' - main: './cmd/routesum/main.go' + main: './cmd/routesum' binary: 'routesum' goarch: - '386' @@ -65,6 +66,5 @@ nfpms: bindir: '/usr/bin' files: 'CHANGELOG.md': '/usr/share/doc/routesum/CHANGELOG.md' - 'LICENSE-APACHE': '/usr/share/doc/routesum/LICENSE-APACHE' - 'LICENSE-MIT': '/usr/share/doc/routesum/LICENSE-MIT' - 'README.md': '/usr/share/doc/routesum/README.md' \ No newline at end of file + 'LICENSE.md': '/usr/share/doc/routesum/LICENSE.md' + 'README.md': '/usr/share/doc/routesum/README.md'