diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 8fb4c6dab..3c26318dd 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -40,4 +40,5 @@ jobs: binary_name: "mailpit" asset_name: mailpit-${{ matrix.goos }}-${{ matrix.goarch }} extra_files: LICENSE README.md + md5sum: false ldflags: -w -X "github.com/axllent/mailpit/cmd.Version=${{ steps.tag.outputs.tag }}" diff --git a/updater/updater.go b/updater/updater.go index 8daa789bf..31b52aae9 100644 --- a/updater/updater.go +++ b/updater/updater.go @@ -170,7 +170,7 @@ func GithubUpdate(repo, appName, currentVersion string) (string, error) { // ensure the new binary is executable (mainly for inconsistent darwin builds) /* #nosec G204 */ - cmd := exec.Command(newExec) + cmd := exec.Command(newExec, "-h") if err := cmd.Run(); err != nil { return "", err }