diff --git a/appveyor.yml b/appveyor.yml index dc0306a..9d2a206 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -62,6 +62,15 @@ after_build: - cmd: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output output Tapeti.UnityContainer\Tapeti.UnityContainer.csproj /p:Configuration=Release /p:Version=%GitVersion_NuGetVersion% - cmd: appveyor PushArtifact "output\Tapeti.UnityContainer.%GitVersion_NuGetVersion%.nupkg" - cmd: appveyor PushArtifact "output\Tapeti.UnityContainer.%GitVersion_NuGetVersion%.snupkg" + # 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' build: project: Tapeti.sln @@ -73,9 +82,18 @@ configuration: - Release deploy: - provider: NuGet - api_key: - secure: 3WCSZAzan66vEmHZ1q3XzfOfucuAQiA+SiCDChO/gswbxfIXUpiM1eMNASDa3qWH + - provider: NuGet + api_key: + secure: 3WCSZAzan66vEmHZ1q3XzfOfucuAQiA+SiCDChO/gswbxfIXUpiM1eMNASDa3qWH - skip_symbols: false - artifact: /.*(\.|\.s)nupkg/ \ No newline at end of file + 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 \ No newline at end of file