diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 370d9ab5..cfff2057 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,12 +36,12 @@ archives: format: zip files: - LICENSE - - README.rst + - README.md - slackdump.1 checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: diff --git a/cmd/slackdump/main.go b/cmd/slackdump/main.go index bba4f57c..9b653528 100644 --- a/cmd/slackdump/main.go +++ b/cmd/slackdump/main.go @@ -121,8 +121,8 @@ BigCmdLoop: continue } if err := invoke(cmd, args); err != nil { - msg := fmt.Sprintf("Error %03[1]d (%[1]s): %[2]s", base.ExitStatus(), err) - slog.Error(msg, "command", base.CmdName, "error", err, "code", base.ExitStatus(), "status", base.ExitStatus().String()) + msg := fmt.Sprintf("%03[1]d (%[1]s): %[2]s.", base.ExitStatus(), err) + slog.Error(msg) } base.Exit() return