mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 14:28:25 +08:00
13 lines
561 B
YAML
13 lines
561 B
YAML
image: Visual Studio 2017
|
|
configuration: Release
|
|
install:
|
|
- choco install gitversion.portable -y
|
|
before_build:
|
|
- cmd: gitversion /l console /output buildserver
|
|
- nuget 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\*.* |