Skip to content

Commit

Permalink
ci: update appveyor packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
leostera committed Jul 31, 2020
1 parent 9fdfd61 commit d0e2aef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ environment:
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-msvc

# Testing other channels
- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: nightly
- TARGET: x86_64-pc-windows-msvc
RUST_VERSION: nightly

install:
- ps: >-
If ($env:TARGET -eq 'x86_64-pc-windows-gnu') {
Expand Down
4 changes: 2 additions & 2 deletions ci/before_deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Set-Location $env:TEMP
New-Item -Type Directory -Name $STAGE
Set-Location $STAGE

$ZIP = "$SRC_DIR\$($env:CRATE_NAME)-$($env:APPVEYOR_REPO_TAG_NAME)-$($env:TARGET).zip"
$ZIP = "$SRC_DIR\hotstuff-$($env:APPVEYOR_REPO_TAG_NAME)-$($env:TARGET).zip"

Copy-Item "$SRC_DIR\target\$($env:TARGET)\release\$(env:CRATE_NAME).exe" '.\'
Copy-Item "$SRC_DIR\target\$($env:TARGET)\release\hotstuff.exe" '.\'

7z a "$ZIP" *

Expand Down
2 changes: 1 addition & 1 deletion npm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test:
rm -rf node_modules
yarn

publish: README.md test publish.npm publish.github
publish: README.md publish.npm publish.github

README.md: ../README.md
cp ../README.md .
Expand Down

0 comments on commit d0e2aef

Please sign in to comment.