test path

This commit is contained in:
Kyle Spearrin 2019-03-14 17:32:29 -04:00
parent 6b5d148e4b
commit bbafa29776
1 changed files with 8 additions and 4 deletions

View File

@ -25,9 +25,13 @@ before_build:
- cmd: npm --version - cmd: npm --version
build_script: build_script:
- cmd: ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action delete -mask ICONGROUP,1, & exit 0 - ps: |
- cmd: ResourceHacker -open .\version-info.rc -save .\version-info.res -action compile if(Test-Path -Path $env:WIN_PKG_PATH) {
- cmd: ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action addoverwrite -resource .\version-info.res echo "Updating pkg resources"
ResourceHacker -open $env:WIN_PKG_PATH -save $env:WIN_PKG_PATH -action delete -mask ICONGROUP,1,
ResourceHacker -open .\version-info.rc -save .\version-info.res -action compile
ResourceHacker -open $env:WIN_PKG_PATH -save $env:WIN_PKG_PATH -action addoverwrite -resource .\version-info.res,
}
- cmd: npm install - cmd: npm install
- cmd: npm run dist - cmd: npm run dist
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe - cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe
@ -42,7 +46,7 @@ artifacts:
- path: dist/chocolatey/bitwarden-cli.%PACKAGE_VERSION%.nupkg - path: dist/chocolatey/bitwarden-cli.%PACKAGE_VERSION%.nupkg
cache: cache:
- 'C:\Users\appveyor\.pkg-cache\' - 'C:\Users\appveyor\.pkg-cache\ -> package.json'
deploy: deploy:
provider: GitHub provider: GitHub