
* 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
33 lines
682 B
YAML
33 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
|