Cleanup Appveyor build scripts

This commit is contained in:
Liam Cardenas 2017-12-12 13:23:02 -08:00
parent 6b662c4000
commit abc01e8e12
2 changed files with 2 additions and 12 deletions

View file

@ -3,24 +3,18 @@ environment:
nodejs_version: 7
GH_TOKEN:
secure: LiI5jyuHUw6XbH4kC3gP1HX4P/v4rwD/gCNtaFhQu2AvJz1/1wALkp5ECnIxRySN
key_pass:
secure: u6DydPcdrUJlxGL9uc7yQRYG8+5rY6aAEE9nfCSzFyNzZlX9NniOp8Uh5ZKQqX7bGEngLI6ipbLfiJvn0XFnhbn2iTkOuMqOXVJVOehvwlQ=
pfx_key:
secure: 1mwqyRy7hDqDjDK+TIAoaXyXzpNgwruFNA6TPkinUcVM7A+NLD33RQLnfnwVy+R5ovD2pUfhQ6+N0Fqebv6tZh436LIEsock+6IOdpgFwrg=
# find with: Get-Childitem Path "C:\Program Files (x86)\Microsoft SDKs\Windows\" -Include *signtool* -File -Recurse -ErrorAction SilentlyContinue
# SIGNTOOL_PATH: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe
AWS_ACCESS_KEY_ID:
secure: iVGwoJ7ogspjSmuqr+haVPLglSgQsp6tUZx6mIlKH7Q=
AWS_SECRET_ACCESS_KEY:
secure: zKaqdZGPl0exDL5YhJkb33prSemC9Rzg9S7Lw2wFy1WnJ6ffgl6mQH7jqJDUTqsY
CSC_LINK: C:\projects\lbry-app\build\lbry3.pfx
CSC_LINK: build\lbry3.pfx
CSC_KEY_PASSWORD:
secure: u6DydPcdrUJlxGL9uc7yQRYG8+5rY6aAEE9nfCSzFyNzZlX9NniOp8Uh5ZKQqX7bGEngLI6ipbLfiJvn0XFnhbn2iTkOuMqOXVJVOehvwlQ=
skip_branch_with_pr: false
image: Visual Studio 2017
clone_folder: C:\projects\lbry-app
build_script:

View file

@ -1,12 +1,8 @@
pip install -r build\requirements.txt
# sign binary
# Decrypt cert
nuget install secure-file -ExcludeVersion
secure-file\tools\secure-file -decrypt build\lbry3.pfx.enc -secret "$env:pfx_key"
Write-Host "Testing for lbry3"
Test-Path build\lbry3.pfx
# & ${env:SIGNTOOL_PATH} sign /f build\lbry3.pfx /p "$env:key_pass" /tr http://tsa.starfieldtech.com /td SHA256 /fd SHA256 dist\*.exe
# Get the latest stable version of Node.js or io.js
Install-Product node $env:nodejs_version