forked from cpmcgrath/codealignment-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
40 lines (34 loc) · 918 Bytes
/
appveyor.yml
File metadata and controls
40 lines (34 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: 2.0.{build}
image: Visual Studio 2017
platform:
- All
configuration:
- Release
install:
- cd "%APPVEYOR_BUILD_FOLDER%"
- npm install
- npm install -g vsce
build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- ps: >-
if ($true)
{
$file = "package.json"
$a = Get-Content $file -raw | ConvertFrom-Json
$a.version = $env:appveyor_build_version
$a | ConvertTo-Json -Depth 20 | set-content $file
}
- vsce package
after_build:
- cd "%APPVEYOR_BUILD_FOLDER%"
- ps: Push-AppveyorArtifact "codealignment-vscode-$env:appveyor_build_version.vsix"
deploy:
provider: GitHub
auth_token:
secure: TA1/2G21wUBPSWRbmBul7xGvE3YpX8n8AEooMuwkiqhxGhD2bLJ0Y//rS7+qwIN1
draft: true
prerelease: false
force_update: true
on:
branch: master
appveyor_repo_tag: true