1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-15 20:13:16 +02:00

Merge branch 'release/0.0.1-beta'

This commit is contained in:
Ralph Slooten
2022-07-30 00:06:00 +12:00
2 changed files with 2 additions and 1 deletions

View File

@@ -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 }}"

View File

@@ -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
}