Flow.Launcher/appveyor.yml
Ioannis G 945c124b31
appveyor: do not patch csproj files
The way the project files are currently configured, this setting
resulted in only the Plugin project being patched. Consequently, the
version of the Plugin project was wrong in the built package.
2020-05-21 03:32:55 +03:00

34 lines
No EOL
803 B
YAML

version: '0.9.0.{build}'
init:
- ps: |
$version = new-object System.Version $env:APPVEYOR_BUILD_VERSION
$env:flowVersion = "{0}.{1}.{2}" -f $version.Major, $version.Minor, $version.Build
assembly_info:
patch: true
file: SolutionAssemblyInfo.cs
assembly_version: $(flowVersion)
assembly_file_version: $(flowVersion)
assembly_informational_version: $(flowVersion)
skip_commits:
files:
- '*.md'
image: Visual Studio 2019
platform: Any CPU
configuration: Release
before_build:
- ps: nuget restore
build:
project: Flow.Launcher.sln
verbosity: minimal
artifacts:
- path: 'Output\Packages\Flow-Launcher-*.zip'
name: Zip
- path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
name: Plugin nupkg
- path: 'Output\Release\Flow.Launcher.Plugin.*.snupkg'
name: Plugin snupkg