Skip to content
Myr

Add missing CI script for Windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent 674d4f8 · Browse files · 1 file+26 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+26 added−0 removed

  • other:+26 added−0 removed

1 file+26 added−0 removed

added:ci/before_deploy.ps1+26 added
1# This script takes care of packaging the build artifacts that will go in the2# release zipfile34$SRC_DIR = $PWD.Path5$STAGE = [System.Guid]::NewGuid().ToString()67Set-Location $ENV:Temp8New-Item -Type Directory -Name $STAGE9Set-Location $STAGE1011$ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip"1213Copy-Item "$SRC_DIR\target\release\hyperfine.exe" '.\'1415# readme and license16Copy-Item $SRC_DIR\README.md '.\'17Copy-Item $SRC_DIR\LICENSE-MIT '.\'18Copy-Item $SRC_DIR\LICENSE-APACHE '.\'19207z a "$ZIP" *2122Push-AppveyorArtifact "$ZIP"2324Set-Location ..25Remove-Item $STAGE -Force -Recurse26Set-Location $SRC_DIR