Skip to content

Commit

Permalink
Merge pull request #360 from rusq/build-fix
Browse files Browse the repository at this point in the history
replace rst to md in goreleaser
  • Loading branch information
rusq authored Nov 19, 2024
2 parents ec49fd2 + b8a19fe commit 457587f
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 457587f

Please sign in to comment.