mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
- Change build image to VS 2019 - Update Microsoft.SourceLink.GitHub package - Update solution file - Build separate symbol package (.snupkg)
13 lines
559 B
YAML
13 lines
559 B
YAML
image: Visual Studio 2019
|
|
configuration: Release
|
|
install:
|
|
- choco install gitversion.portable -y
|
|
before_build:
|
|
- cmd: gitversion /l console /output buildserver
|
|
- dotnet restore
|
|
build_script:
|
|
msbuild /nologo /v:m /p:AssemblyVersion=%GitVersion_AssemblySemVer% /p:FileVersion=%GitVersion_MajorMinorPatch% /p:InformationalVersion=%GitVersion_InformationalVersion% /p:Configuration=%CONFIGURATION% S7.sln
|
|
after_build:
|
|
- dotnet pack S7.Net -c %CONFIGURATION% /p:Version=%GitVersion_NuGetVersion% --no-build -o artifacts
|
|
artifacts:
|
|
- path: artifacts\*.* |