forked from OrchardCMS/OrchardCore.Translations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_appveyor.yml
45 lines (45 loc) · 1.37 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
image: Visual Studio 2017
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
branches:
only:
- dev # The branch that gets deployed to MyGet
- master # The branch that is published on Nuget.org
environment:
packageVersion: 1.0.0
versionPrefix: -rc2
init:
- git config --global core.autocrlf true
- ps: $env:nugetVersion = "$env:packageVersion$env:versionPrefix-$env:appveyor_build_number"
install:
- ps: Start-FileDownload 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe'
build_script:
- dotnet --version
- ps: .\pack.ps1
artifacts:
- path: 'artifacts\**\*.nupkg'
deploy:
- provider: NuGet
on:
branch: master
server: https://www.nuget.org/api/v2/package
api_key:
secure: GpjRrefcoOSEkxYFrKHwNXMThKNCRyPDaheCyotwU8sn9n24Hr1aewKUWd1ixq9U
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: dev
server: https://www.myget.org/F/orchardcore-preview/api/v2/package
api_key:
secure: zFOa19bQQsM/YV7mrHwGdElRhCGSRq3CqZ7xACS0iEPRJk8mdNgSrjPjnMR1LOGo
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: dev
server: https://www.myget.org/F/orchardcore-dev/api/v2/package
api_key:
secure: zFOa19bQQsM/YV7mrHwGdElRhCGSRq3CqZ7xACS0iEPRJk8mdNgSrjPjnMR1LOGo
skip_symbols: true
artifact: /.*\.nupkg/