[ci] Add a sha256 artifact for Windows

This commit is contained in:
Jake Shadle 2019-02-06 15:07:36 +01:00 коммит произвёл Ted Mielczarek
Родитель 7965bc5402
Коммит d69e8aa00e
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -61,10 +61,13 @@ for:
Copy-Item README.md "${NAME}/" Copy-Item README.md "${NAME}/"
7z a -ttar "${NAME}.tar" "${NAME}" 7z a -ttar "${NAME}.tar" "${NAME}"
7z a "${NAME}.tar.gz" "${NAME}.tar" 7z a "${NAME}.tar.gz" "${NAME}.tar"
Push-AppveyorArtifact "${NAME}.tar.gz" $hash = Get-FileHash "${NAME}.tar.gz" -Algorithm SHA256
$hash.Hash > "${NAME}.tar.gz.sha256"
Push-AppveyorArtifact "${NAME}.tar.gz" -DeploymentName windep
Push-AppveyorArtifact "${NAME}.tar.gz.sha256" -DeploymentName windep
deploy: deploy:
artifact: /.*\.tar.gz/ artifact: windep
auth_token: auth_token:
secure: NKcPr8KYJE2osDxfO1xBDQHQRgJrhgItv2op6KKZSfLB01rq08M3243XdN3J5aaJ secure: NKcPr8KYJE2osDxfO1xBDQHQRgJrhgItv2op6KKZSfLB01rq08M3243XdN3J5aaJ
description: '' description: ''