mailsend-go: Add v1.0.3 and mod mailsend (#3258)

* mailsend-go: Add v1.0.3 and mod mailsend

* change mailsend hash url

Co-Authored-By: niheaven <niheaven@gmail.com>

* add notes
This commit is contained in:
Hsiao-nan Cheung 2019-03-24 22:12:59 +08:00 committed by Ross Smith II
parent a1f3afdca2
commit f6f9e28624
2 changed files with 50 additions and 12 deletions

38
mailsend-go.json Normal file
View File

@ -0,0 +1,38 @@
{
"homepage": "https://github.com/muquit/mailsend-go",
"version": "1.0.3",
"description": "A multi-platform command line tool to send mail via SMTP protocol.",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/muquit/mailsend-go/releases/download/v1.0.3/mailsend-go_1.0.3_windows_64-bit.zip",
"hash": "fc3e0ea437bfe3b2de8bec57bf19d60587b86195d159d1a82f7473d86c2ad640"
},
"32bit": {
"url": "https://github.com/muquit/mailsend-go/releases/download/v1.0.3/mailsend-go_1.0.3_windows_32-bit.zip",
"hash": "359db90c21fa3e9835243f6c9ce09d4eaae636ef2ff9e047e39e3345d0d8a26f"
}
},
"extract_dir": "mailsend-go-dir",
"bin": [
"mailsend-go.exe",
[
"mailsend-go.exe",
"mailsend"
]
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/muquit/mailsend-go/releases/download/v$version/mailsend-go_$version_windows_64-bit.zip"
},
"32bit": {
"url": "https://github.com/muquit/mailsend-go/releases/download/v$version/mailsend-go_$version_windows_32-bit.zip"
}
},
"hash": {
"url": "$baseurl/mailsend-go_$version_checksums.txt"
}
}
}

View File

@ -1,19 +1,19 @@
{ {
"homepage": "https://github.com/muquit/mailsend",
"version": "1.19", "version": "1.19",
"description": "A program to send mail via SMTP from command line.",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"url": "https://github.com/muquit/mailsend/releases/download/1.19/mailsend1.19.exe.zip", "url": "https://github.com/muquit/mailsend/releases/download/1.19/mailsend1.19.exe.zip",
"homepage": "https://github.com/muquit/mailsend", "hash": "sha1:9f25e39200089d8c281949323eadb7ab18352dff",
"checkver": { "pre_install": "Rename-Item \"$dir\\mailsend$version.exe\" \"$dir\\mailsend.exe\"",
"github": "https://github.com/muquit/mailsend" "bin": "mailsend.exe",
}, "checkver": "github",
"autoupdate": { "autoupdate": {
"url": "https://github.com/muquit/mailsend/releases/download/$version/mailsend$version.exe.zip" "url": "https://github.com/muquit/mailsend/releases/download/$version/mailsend$version.exe.zip",
"hash": {
"url": "https://github.com/muquit/mailsend/releases/tag/$version",
"regex": "SHA1\\($basename\\).*$sha1"
}
}, },
"hash": "87db23b8c9588353d12e19e953dddb17ed04b422f41bcfbaa8ad4e27057245b4", "notes": "Depricated, please use 'mailsend-go' instead."
"bin": [
[
"mailsend1.19.exe",
"mailsend"
]
]
} }