Skip to content

Commit

Permalink
replace rst to md in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Nov 19, 2024
1 parent ec49fd2 commit b8a19fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions cmd/slackdump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8a19fe

Please sign in to comment.