-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (47 loc) · 1.32 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
# https://www.appveyor.com/docs/appveyor-yml/
version: 1.0.1.{build}
branches:
only:
- master
skip_tags: true
image: Visual Studio 2017
platform:
- Any CPU
configuration:
- Release
build:
parallel: true
project: bmconv.sln
environment:
EnableNuGetPackageRestore: true
before_build:
- nuget restore
after_build:
- 7z a bmconv.zip -r %APPVEYOR_BUILD_FOLDER%/bmconv/bin/%CONFIGURATION%/*.dll
- 7z a bmconv.zip -r %APPVEYOR_BUILD_FOLDER%/bmconv/bin/%CONFIGURATION%/*.exe
- 7z a bmconv.zip LICENSE.txt
- 7z a bmconv.zip README.md
- copy bmconv.zip bmconv-v%APPVEYOR_BUILD_VERSION%.zip
- copy bmconv.zip bmconv-latest.zip
artifacts:
- path: bmconv-v%APPVEYOR_BUILD_VERSION%.zip
name: WithVersion
- path: bmconv-latest.zip
name: Static
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
deploy:
- provider: GitHub
description: 'bmconv'
auth_token:
secure: u+MFjjY665AT4PHJ2bFMINBLnnnwSj1jLnNeFZoWfeYbomTNSPOmdahffmZa+dRH
artifact: WithVersion # upload all NuGet packages to release assets
draft: false
prerelease: true
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only