2021-05-29 10:40:12 +00:00
|
|
|
image: Visual Studio 2019
|
2018-06-12 08:16:35 +00:00
|
|
|
|
2017-10-17 15:24:53 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- choco install gitversion.portable -pre -y
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- nuget restore
|
2019-10-01 08:18:02 +00:00
|
|
|
- ps: gitversion /l console /output buildserver
|
|
|
|
- ps: build\UpdateVersion.ps1
|
2017-10-17 15:24:53 +00:00
|
|
|
|
|
|
|
after_build:
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti\Tapeti.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.Annotations
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Annotations\Tapeti.Annotations.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Annotations.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Annotations.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.DataAnnotations
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.DataAnnotations\Tapeti.DataAnnotations.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.DataAnnotations.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.DataAnnotations.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.DataAnnotations.Extensions
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.DataAnnotations.Extensions\Tapeti.DataAnnotations.Extensions.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.DataAnnotations.Extensions.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.DataAnnotations.Extensions.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.Flow
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Flow\Tapeti.Flow.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Flow.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Flow.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.Flow.SQL
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Flow.SQL\Tapeti.Flow.SQL.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Flow.SQL.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Flow.SQL.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.Transient
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Transient\Tapeti.Transient.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Transient.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Transient.%GitVersion_NuGetVersion%.snupkg"
|
2019-07-18 08:02:42 +00:00
|
|
|
# Tapeti.Serilog
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Serilog\Tapeti.Serilog.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Serilog.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Serilog.%GitVersion_NuGetVersion%.snupkg"
|
2019-08-19 14:36:26 +00:00
|
|
|
# Tapeti.SimpleInjector
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.SimpleInjector\Tapeti.SimpleInjector.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.SimpleInjector.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.SimpleInjector.%GitVersion_NuGetVersion%.snupkg"
|
2019-08-19 14:36:26 +00:00
|
|
|
# Tapeti.Autofac
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Autofac\Tapeti.Autofac.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Autofac.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Autofac.%GitVersion_NuGetVersion%.snupkg"
|
2019-08-19 14:36:26 +00:00
|
|
|
# Tapeti.CastleWindsor
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.CastleWindsor\Tapeti.CastleWindsor.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.CastleWindsor.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.CastleWindsor.%GitVersion_NuGetVersion%.snupkg"
|
2019-08-19 14:36:26 +00:00
|
|
|
# Tapeti.Ninject
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.Ninject\Tapeti.Ninject.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Ninject.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.Ninject.%GitVersion_NuGetVersion%.snupkg"
|
2019-08-19 14:36:26 +00:00
|
|
|
# Tapeti.UnityContainer
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.UnityContainer\Tapeti.UnityContainer.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion%
|
2021-05-29 10:44:35 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.UnityContainer.%GitVersion_NuGetVersion%.nupkg"
|
2021-06-03 06:23:07 +00:00
|
|
|
- cmd: appveyor PushArtifact "output\Tapeti.UnityContainer.%GitVersion_NuGetVersion%.snupkg"
|
2021-09-06 13:07:03 +00:00
|
|
|
# Tapeti.Cmd
|
|
|
|
- cmd: dotnet publish -c Release -r win-x64 --self-contained=true -o publish\x64\selfcontained Tapeti.Cmd\Tapeti.Cmd.csproj
|
|
|
|
- cmd: dotnet publish -c Release -r win-x64 --self-contained=false -o publish\x64 Tapeti.Cmd\Tapeti.Cmd.csproj
|
|
|
|
- cmd: copy publish\x64\selfcontained\Tapeti.Cmd.exe publish\x64
|
|
|
|
- cmd: rmdir /s publish\x64\selfcontained
|
|
|
|
- cmd: 7z a output\Tapeti.Cmd-x64-%GitVersion_NuGetVersion%.zip %APPVEYOR_BUILD_FOLDER%\public\x64\*
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: 'output\Tapeti.Cmd-*.zip'
|
2017-10-17 15:24:53 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
project: Tapeti.sln
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- Any CPU
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
deploy:
|
2021-09-06 13:07:03 +00:00
|
|
|
- provider: NuGet
|
|
|
|
api_key:
|
|
|
|
secure: 3WCSZAzan66vEmHZ1q3XzfOfucuAQiA+SiCDChO/gswbxfIXUpiM1eMNASDa3qWH
|
2018-06-14 13:50:45 +00:00
|
|
|
|
2021-09-06 13:07:03 +00:00
|
|
|
skip_symbols: false
|
|
|
|
artifact: /.*(\.|\.s)nupkg/
|
|
|
|
- provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: dWOConKg3VTPvd9DmWOOKiX1SJCalaqKInuk9GlKQOZX2s+Bia49J7q+AHO8wFj7
|
|
|
|
artifact: /output\\Tapeti.Cmd-.*\.exe/
|
|
|
|
draft: false
|
|
|
|
prerelease: false
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
APPVEYOR_REPO_TAG: true
|