Introducing $baseurl variable for hash file downloads

This commit is contained in:
Richard Kuhnt 2017-05-14 14:53:25 +02:00
parent 984c1ddae2
commit 6ecd8d9eb3
16 changed files with 18 additions and 18 deletions

View File

@ -23,7 +23,7 @@
"url": "http://www-us.apache.org/dist/ant/binaries/apache-ant-$version-bin.zip", "url": "http://www-us.apache.org/dist/ant/binaries/apache-ant-$version-bin.zip",
"extract_dir": "apache-ant-$version", "extract_dir": "apache-ant-$version",
"hash": { "hash": {
"url": "http://www-us.apache.org/dist/ant/binaries/apache-ant-$version-bin.zip.sha512" "url": "$url.sha512"
} }
} }
} }

View File

@ -29,7 +29,7 @@
} }
}, },
"hash": { "hash": {
"url": "https://github.com/docker/machine/releases/download/v$version/sha256sum.txt" "url": "$baseurl/sha256sum.txt"
} }
} }
} }

View File

@ -38,7 +38,7 @@
} }
}, },
"hash": { "hash": {
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$cleanVersion/SHA256SUMS" "url": "$baseurl/SHA256SUMS"
} }
} }
} }

View File

@ -1,5 +1,5 @@
{ {
"homepage": "http://julialang.org", "homepage": "https://julialang.org",
"version": "0.5.2", "version": "0.5.2",
"license": "MIT", "license": "MIT",
"architecture": { "architecture": {

View File

@ -25,13 +25,13 @@
"64bit": { "64bit": {
"url": "https://dl.minio.io/client/mc/release/windows-amd64/mc.RELEASE.$version#/mc.exe", "url": "https://dl.minio.io/client/mc/release/windows-amd64/mc.RELEASE.$version#/mc.exe",
"hash": { "hash": {
"url": "https://dl.minio.io/client/mc/release/windows-amd64/mc.shasum" "url": "$baseurl/mc.shasum"
} }
}, },
"32bit": { "32bit": {
"url": "https://dl.minio.io/client/mc/release/windows-386/mc.RELEASE.$version#/mc.exe", "url": "https://dl.minio.io/client/mc/release/windows-386/mc.RELEASE.$version#/mc.exe",
"hash": { "hash": {
"url": "https://dl.minio.io/client/mc/release/windows-386/mc.shasum" "url": "$baseurl/mc.shasum"
} }
} }
} }

View File

@ -25,13 +25,13 @@
"64bit": { "64bit": {
"url": "https://dl.minio.io/server/minio/release/windows-amd64/archive/minio.RELEASE.$version#/minio.exe", "url": "https://dl.minio.io/server/minio/release/windows-amd64/archive/minio.RELEASE.$version#/minio.exe",
"hash": { "hash": {
"url": "https://dl.minio.io/server/minio/release/windows-amd64/archive/minio.RELEASE.$version.sha256sum" "url": "$baseurl/minio.RELEASE.$version.sha256sum"
} }
}, },
"32bit": { "32bit": {
"url": "https://dl.minio.io/server/minio/release/windows-386/archive/minio.RELEASE.$version#/minio.exe", "url": "https://dl.minio.io/server/minio/release/windows-386/archive/minio.RELEASE.$version#/minio.exe",
"hash": { "hash": {
"url": "https://dl.minio.io/server/minio/release/windows-386/archive/minio.RELEASE.$version.sha256sum" "url": "$baseurl/minio.RELEASE.$version.sha256sum"
} }
} }
} }

View File

@ -37,7 +37,7 @@ Set-Content -Value \"prefix=$dir\\bin\" -Path $dir\\node_modules\\npm\\npmrc",
} }
}, },
"hash": { "hash": {
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc" "url": "$baseurl/SHASUMS256.txt.asc"
} }
} }
} }

View File

@ -37,7 +37,7 @@ Set-Content -Value \"prefix=$dir\\bin\" -Path $dir\\node_modules\\npm\\npmrc",
} }
}, },
"hash": { "hash": {
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc" "url": "$baseurl/SHASUMS256.txt.asc"
} }
} }
} }

View File

@ -31,7 +31,7 @@
"hash": { "hash": {
"mode": "json", "mode": "json",
"jp": "$.files.$basename.sha512", "jp": "$.files.$basename.sha512",
"url": "https://slproweb.com/download/win32_openssl_hashes.json" "url": "$baseurl/win32_openssl_hashes.json"
} }
} }
} }

View File

@ -29,7 +29,7 @@
} }
}, },
"hash": { "hash": {
"url": "https://releases.hashicorp.com/packer/$version/packer_$version_SHA256SUMS" "url": "$baseurl/packer_$version_SHA256SUMS"
} }
} }
} }

View File

@ -55,7 +55,7 @@ if (!(Test-Path \"$dir\\cli\\conf.d\")) {
} }
}, },
"hash": { "hash": {
"url": "http://windows.php.net/downloads/releases/sha1sum.txt" "url": "$baseurl/sha1sum.txt"
} }
}, },
"suggest": { "suggest": {

View File

@ -55,7 +55,7 @@ if (!(Test-Path \"$dir\\cli\\conf.d\")) {
} }
}, },
"hash": { "hash": {
"url": "http://windows.php.net/downloads/releases/sha1sum.txt" "url": "$baseurl/sha1sum.txt"
} }
}, },
"suggest": { "suggest": {

View File

@ -29,7 +29,7 @@
} }
}, },
"hash": { "hash": {
"url": "https://releases.hashicorp.com/terraform/$version/terraform_$version_SHA256SUMS" "url": "$baseurl/terraform_$version_SHA256SUMS"
} }
} }
} }

View File

@ -13,7 +13,7 @@
"autoupdate": { "autoupdate": {
"url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version.msi", "url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version.msi",
"hash": { "hash": {
"url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version_SHA256SUMS" "url": "$baseurl/vagrant_$version_SHA256SUMS"
} }
} }
} }

View File

@ -29,7 +29,7 @@
} }
}, },
"hash": { "hash": {
"url": "https://releases.hashicorp.com/vault/$version/vault_$version_SHA256SUMS" "url": "$baseurl/vault_$version_SHA256SUMS"
} }
} }
} }

View File

@ -14,7 +14,7 @@
"autoupdate": { "autoupdate": {
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/youtube-dl.exe", "url": "https://github.com/rg3/youtube-dl/releases/download/$version/youtube-dl.exe",
"hash": { "hash": {
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/SHA2-256SUMS" "url": "$baseurl/SHA2-256SUMS"
} }
} }
} }