Rémy a5c054ea9e Breaking, change autoupdate definition to use the same logic as the
architecture by the core / update the affected manifests / ability to
change extract_dir based on arch / add nssm autoupdate
2017-01-01 17:30:18 +01:00

37 lines
1.1 KiB
JSON

{
"version": "1.7.4",
"homepage": "https://golang.org",
"license": "https://golang.org/LICENSE",
"architecture": {
"64bit": {
"url": "https://storage.googleapis.com/golang/go1.7.4.windows-amd64.zip",
"hash": "36739164fed38a6da908813aba48d72fb22fea923de5611a85a81135b7cfceb9"
},
"32bit": {
"url": "https://storage.googleapis.com/golang/go1.7.4.windows-386.zip",
"hash": "49df7846ab04d6106cc501526c14c055788e8c67590a967fb4abef7b8b70751f"
}
},
"extract_dir": "go",
"env_add_path": "bin",
"env_set": {
"GOROOT": "$dir"
},
"checkver": "Build version go([\\d\\.]+)\\.",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://storage.googleapis.com/golang/go$version.windows-amd64.zip"
},
"32bit": {
"url": "https://storage.googleapis.com/golang/go$version.windows-386.zip"
}
},
"hash": {
"mode": "extract",
"url": "$url.sha256",
"find": "([a-z0-9]{64})"
}
}
}