Skip to content

Commit

Permalink
updated to simpler appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Wood committed Dec 11, 2020
1 parent 6914a2c commit 21a7560
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,14 @@
version: 1.5.0.{build}

environment:
packageVersion: 1.5.0

init:
- ps: $env:buildVersion = "$env:packageVersion.$env:appveyor_build_number"
- ps: $env:nugetVersion = "$env:packageVersion"
- ps: Update-AppveyorBuild -Version $env:buildVersion

assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(buildVersion)'
assembly_file_version: '$(buildVersion)'
assembly_informational_version: '$(nugetVersion)'

configuration: Release

nuget:
account_feed: true
project_feed: true
disable_publish_on_pr: true
image: Visual Studio 2019

before_build:
- nuget restore
- cmd: dotnet restore

build:
verbosity: minimal

after_build:
- ps: nuget pack dotMath.nuspec -version "$env:nugetVersion"

artifacts:
- path: 'dotMath*.nupkg'
name: nuget-package

deploy:
- provider: NuGet
api_key:
secure: F9stGuIbUQoboJuAGMkMUULJMKhuR546Cd5vAZhToh2yoNuOF6z2E8flGI0b2fET
artifact: nuget-package
on:
branch: master

0 comments on commit 21a7560

Please sign in to comment.