session-desktop/appveyor.yml
Scott Nonnenberg b0f9644c14 Add certificate name for windows code-signing (#1513)
* Add certificate name for windows code-signing

electron-builder supports our extended validation code-signing cert, but
only on windows. Our release process must now include a signing step on
windows.

FREEBIE

* AppVeyor Remove certificateSubjectName to disable signing

* Move code-signing disable package.json updates above build

* AppVeyor: Use temporary holding file for package.json changes
2017-09-28 11:58:45 -07:00

34 lines
682 B
YAML

platform:
- x64
cache:
- '%LOCALAPPDATA%\electron\Cache'
- node_modules -> package.json
install:
- systeminfo | findstr /C:"OS"
- set PATH=C:\Ruby23-x64\bin;%PATH%
- ps: Install-Product node 6 x64
- yarn install
build_script:
- yarn run icon-gen
- node build\grunt.js
- type package.json | findstr /v certificateSubjectName > temp.json
- move temp.json package.json
- node_modules\.bin\build --em.environment=%SIGNAL_ENV% --publish=never
test_script:
- node build\grunt.js test-release:win
- node build\grunt.js test
artifacts:
- path: dist/*.*
environment:
SIGNAL_ENV: production
deploy:
provider: Environment
name: signal-desktop-builds