| 
									
										
										
										
											2018-07-12 19:28:02 +00:00
										 |  |  | version: appveyor-preflight-{build}-{branch}
 | 
					
						
							|  |  |  | branches:
 | 
					
						
							|  |  |  |   only:
 | 
					
						
							|  |  |  |   - master
 | 
					
						
							|  |  |  | image: Visual Studio 2017
 | 
					
						
							|  |  |  | init:
 | 
					
						
							|  |  |  | - ps: >-
 | 
					
						
							|  |  |  |     git config --global core.autocrlf input
 | 
					
						
							|  |  |  |     git config --global credential.helper store
 | 
					
						
							|  |  |  | install:
 | 
					
						
							|  |  |  | - ps: >-
 | 
					
						
							| 
									
										
										
										
											2018-07-16 17:24:09 +00:00
										 |  |  |     Install-Product node 8 x64
 | 
					
						
							| 
									
										
										
										
											2018-07-12 19:28:02 +00:00
										 |  |  |     $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
 | 
					
						
							|  |  |  |     Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
 | 
					
						
							|  |  |  | build_script:
 | 
					
						
							|  |  |  | - cmd: >-
 | 
					
						
							|  |  |  |     npm install
 | 
					
						
							|  |  |  |     npm run dist
 | 
					
						
							|  |  |  | test: off
 | 
					
						
							|  |  |  | artifacts:
 | 
					
						
							|  |  |  | - path: dist\*.*
 | 
					
						
							|  |  |  |   name: dist
 | 
					
						
							|  |  |  |   type: WebDeployPackage
 | 
					
						
							|  |  |  | deploy:
 | 
					
						
							|  |  |  | - provider: GitHub
 | 
					
						
							| 
									
										
										
										
											2018-07-16 11:10:08 +00:00
										 |  |  |   release: v$(package_version)
 | 
					
						
							| 
									
										
										
										
											2018-07-12 19:28:02 +00:00
										 |  |  |   auth_token:
 | 
					
						
							|  |  |  |     secure: qR6cJCEAjzYYgJKkpa9aJmpTgX11HlSZTrDWRg38icikDeE7hOPCp+K3VqxgZ9ex
 | 
					
						
							| 
									
										
										
										
											2018-07-16 11:10:08 +00:00
										 |  |  |   force_update: true
 |