forked from buildingSMART/bSDD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (48 loc) · 1.83 KB
/
appveyor.yml
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
41
42
43
44
45
46
47
48
49
50
#---------------------------------------#
# Build the PSetManager.exe #
#---------------------------------------#
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- nuget restore "PSets\Tools\PSetManager\PSetManager.sln"
build:
project: PSets\Tools\PSetManager\PSetManager.sln
verbosity: minimal
artifacts:
- path: PSets\Tools\PSetManager\PSetManager\bin\$(configuration)
name: PSetManager
- path: PSets\Tools\PSetManager\PSetManager\bin\$(configuration)\PSetManager.log
name: PSet2YamlConverterLog
#---------------------------------------#
# Run the PSetManager.exe #
#---------------------------------------#
environment:
access_token:
secure: sNVOMaQLV0mfLGZL9mXDXZvRvhHjX+WYON1/WokLH7w2fev2upMCuElyw07vW1w0
gh_email:
secure: V/J9RJx75dwkZ3GYcz6HxOuHhgRjronD6QpRkF5O+so=
gh_username:
secure: WYN/eo4TYe5gfE1sRt2Ugw==
bsddUrl: http://test.bsdd.buildingsmart.org
bsddUser:
secure: V/J9RJx75dwkZ3GYcz6HxOuHhgRjronD6QpRkF5O+so=
bsddPassword:
secure: NsrogBgtuwTGnsZJl37ryz5NPjIO7ZESEzqd+1Xcd9lpE3XW0LBaE9eGI3ModO0q
on_finish:
- ps: '& "C:\projects\bSDD\PSets\Tools\ConvertAndPublishPSets.ps1" -bsddUrl $env:bsddUrl -bsddUser $env:bsddUser -bsddPassword $env:bsddPassword'
# - git config --global credential.helper store
# - ps: Add-Content "$HOME\.git-credentials" "https://$($env:access_token):[email protected]`n"
# - git config --global user.email "$($env:gh_email)"
# - git config --global user.name "$($env:gh_username)"
# - git config core.autocrlf true
# - git status
# - git commit . -m "Transformed PSets to YAML and JSON format"
# - git remote -v
# - git push origin master