Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Commit

Permalink
Added GitHub release automation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanz committed Aug 2, 2016
1 parent f6dde05 commit 90f3a9d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 26 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[appveyor.yml]
indent_style = space
indent_size = 2

[*.cs]
indent_style = space
indent_size = 4

[*.ps1]
indent_style = space
indent_size = 4
30 changes: 22 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
environment:
nuget_version: '0.10.0-rc1'
nuget_prerelease: true
assembly_version: '0.9.0.0'
release_notes: |
* Support for .NET Standard 1.3 and NET Core
* Added support for decimals for ShouldBeCloseTo method (thanks to @meinsiedler)
* Fixed a bug in ShouldBeLike (#17)
clone_depth: 5

Expand All @@ -16,16 +21,25 @@ assembly_info:
assembly_version: '$(assembly_version)'

build_script:
- cmd: >-
powershell -f build.ps1 -CodeDirectory "." -TestsDirectory "." -PackageOutputDirectory "Build" -Package "Machine.Specifications.Should" -Version "%NUGET_VERSION%" -Configuration "%CONFIGURATION%"
- cmd: >-
powershell -f build.ps1 -CodeDirectory "." -TestsDirectory "." -PackageOutputDirectory "Build" -Package "Machine.Specifications.Should" -Version "%NUGET_VERSION%" -Configuration "%CONFIGURATION%"
artifacts:
- path: Build\*.nupkg
- path: Build\*.nupkg

test: off

deploy:
- provider: NuGet
api_key:
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
on:
appveyor_repo_tag: true

- provider: GitHub
on:
appveyor_repo_tag: true
prerelease: $(nuget_prerelease)
description: $(release_notes)
release: v$(nuget_version)
auth_token:
secure: VrF5TrpBRN0ims9nJC1LG32O6ga5hsRuGNSufEbatAiIWZ1z68iiCYKZtqnAaT9y
18 changes: 0 additions & 18 deletions history.txt

This file was deleted.

0 comments on commit 90f3a9d

Please sign in to comment.