air: Add version 1.42.0 (#4620)

* air: Add version 1.42.0

* air: Add autoupdate hash extraction
This commit is contained in:
jonz94 2023-04-03 15:20:06 +08:00 committed by GitHub
parent f5fbf9b311
commit 63d16f5b08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

38
bucket/air.json Normal file
View File

@ -0,0 +1,38 @@
{
"version": "1.42.0",
"description": "A live-reloading command line utility for developing Go applications.",
"homepage": "https://github.com/cosmtrek/air",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://github.com/cosmtrek/air/releases/download/v1.42.0/air_1.42.0_windows_amd64.tar.gz",
"hash": "a9cebdefec3000ff59451a3c3a531387154f31065ed82658b14e1c24d236f455"
},
"32bit": {
"url": "https://github.com/cosmtrek/air/releases/download/v1.42.0/air_1.42.0_windows_386.tar.gz",
"hash": "4ae65f18a48526c84c85f5c3b13c0b95c0ac3f94a709f10a50b8b392113cf201"
},
"arm64": {
"url": "https://github.com/cosmtrek/air/releases/download/v1.42.0/air_1.42.0_windows_arm64.tar.gz",
"hash": "4cec0800f771adbf7d27142624d4e994e6ca9a9e84afd172bd9d0f7bc51b7987"
}
},
"bin": "air.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/cosmtrek/air/releases/download/v$version/air_$version_windows_amd64.tar.gz"
},
"32bit": {
"url": "https://github.com/cosmtrek/air/releases/download/v$version/air_$version_windows_386.tar.gz"
},
"arm64": {
"url": "https://github.com/cosmtrek/air/releases/download/v$version/air_$version_windows_arm64.tar.gz"
}
},
"hash": {
"url": "$baseurl/air_$version_checksums.txt"
}
}
}