Skip to content

Commit

Permalink
Add sha256 for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
sorpaas committed Sep 4, 2017
1 parent a880103 commit 7069212
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/before_deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ New-Item -Type Directory -Name $STAGE
Set-Location $STAGE

$ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip"
$ZIP_SHA256 = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip.sha256"

# TODO Update this to package the right artifacts
Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\svmdev.exe" '.\'

7z a "$ZIP" *
Get-FileHash "$ZIP" -Algorithm SHA256 | Out-File "$ZIP_SHA256"

Push-AppveyorArtifact "$ZIP"
Push-AppveyorArtifact "$ZIP_SHA256"

Remove-Item *.* -Force
Set-Location ..
Expand Down

0 comments on commit 7069212

Please sign in to comment.