Skip to content

Commit

Permalink
Merge pull request #131 from MisterJames/ftr/add_appveyor_push_to_nuget
Browse files Browse the repository at this point in the history
Add nuget push on build
  • Loading branch information
stimms committed Mar 7, 2018
2 parents 52fab83 + 65f5733 commit 3ca6a62
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 1.4.{build}.0
branches:
only:
- master
image: Visual Studio 2017
build_script:
- cmd: >-
echo %APPVEYOR_BUILD_VERSION%
dotnet restore src/GenFu.sln
dotnet build src\GenFu.sln /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
dotnet pack .\src\GenFu\GenFu.csproj --include-symbols /p:PackageVersion=%appveyor_build_version% /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
test_script:
- ps: dotnet test tests\GenFu.Tests\GenFu.Tests.csproj
artifacts:
- path: '**\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: qjbfJcH1Lyp3ENSjX53F09cBYmHpTmkXer1i5ZYa8AjJe4qktQCJT/A7/v3tNpm2
skip_symbols: false
artifact: /.*\.nupkg/

0 comments on commit 3ca6a62

Please sign in to comment.