Skip to content

Commit

Permalink
[ci] Add a sha256 artifact for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Shadle authored and luser committed Feb 8, 2019
1 parent 7965bc5 commit d69e8aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ for:
Copy-Item README.md "${NAME}/"
7z a -ttar "${NAME}.tar" "${NAME}"
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:
artifact: /.*\.tar.gz/
artifact: windep
auth_token:
secure: NKcPr8KYJE2osDxfO1xBDQHQRgJrhgItv2op6KKZSfLB01rq08M3243XdN3J5aaJ
description: ''
Expand Down

0 comments on commit d69e8aa

Please sign in to comment.