diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 9ce5b30..6cfc458 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -44,4 +44,5 @@ jobs: extra_files: LICENSE README.md md5sum: false overwrite: true + retry: 5 ldflags: -w -X "github.com/axllent/mailpit/config.Version=${{ github.ref_name }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 36b1557..f43d2a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Notable changes to Mailpit will be documented in this file. +## [v1.6.19] + +### Fix +- Only display sendmail help when sendmail subcommand is invoked + + ## [v1.6.18] ### API diff --git a/cmd/sendmail.go b/cmd/sendmail.go index b44c5cf..6d9305a 100644 --- a/cmd/sendmail.go +++ b/cmd/sendmail.go @@ -21,7 +21,7 @@ func init() { rootCmd.AddCommand(sendmailCmd) // print out manual help screen - rootCmd.SetHelpTemplate(sendmail.HelpTemplate([]string{os.Args[0], "sendmail"})) + sendmailCmd.SetHelpTemplate(sendmail.HelpTemplate([]string{os.Args[0], "sendmail"})) // these are simply repeated for cli consistency as cobra/viper does not allow // multi-letter single-dash variables (-bs) diff --git a/server/ui-src/App.vue b/server/ui-src/App.vue index 1695c32..8b3fd67 100644 --- a/server/ui-src/App.vue +++ b/server/ui-src/App.vue @@ -944,7 +944,7 @@ export default {