-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
27 lines (22 loc) · 846 Bytes
/
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
version: 0.2.0.{build}
image: Visual Studio 2019
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
version_prefix: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- dotnet restore "StarlightResize/StarlightResize.csproj"
build_script:
- dotnet publish "StarlightResize/StarlightResize.csproj" -c Release
after_build:
- mv StarlightResize/bin/Release/net5.0-windows/win-x64/publish StarlightResize.%APPVEYOR_BUILD_VERSION%
- cp LICENSE.txt StarlightResize.%APPVEYOR_BUILD_VERSION%/
- cp README.md StarlightResize.%APPVEYOR_BUILD_VERSION%/README.txt
- 7z a StarlightResize.%APPVEYOR_BUILD_VERSION%.zip StarlightResize.%APPVEYOR_BUILD_VERSION%/*
artifacts:
- path: StarlightResize.$(APPVEYOR_BUILD_VERSION).zip