-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from maxhauser/feature/dotnet
#11 Added support for .NET Core
- Loading branch information
Showing
19 changed files
with
1,552 additions
and
3,209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,9 @@ obj/ | |
TestResults/ | ||
*.csproj.user | ||
*.suo | ||
*.nupkg | ||
*.nupkg | ||
|
||
# project.json | ||
*.lock.json | ||
.vs | ||
*.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
version: 2.0.{build} | ||
os: Visual Studio 2015 | ||
|
||
configuration: Release | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
init: | ||
- git config --global core.autocrlf true | ||
- ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10) | ||
- ps: If ("$env:APPVEYOR_REPO_BRANCH" -ne "master") { $env:VERSION_SUFFIX="-pre" } | ||
|
||
assembly_info: | ||
patch: true | ||
file: AssemblyInfo.* | ||
assembly_version: "{version}.0" | ||
assembly_file_version: "{version}.0" | ||
assembly_informational_version: "{version}$(VERSION_SUFFIX) $(GIT_HASH)" | ||
|
||
before_build: | ||
- ps: >- | ||
Get-ChildItem -Path .\ -Filter project.json -Recurse -Name | | ||
ForEach { | ||
$content = Get-Content "$_" | ||
$content = $content.Replace("99.99.99-dev", "$($env:APPVEYOR_BUILD_VERSION)$($env:VERSION_SUFFIX)") | ||
Set-Content "$_" $content -Encoding UTF8 | ||
} | ||
- dotnet restore -v Minimal | ||
|
||
build_script: | ||
- dotnet pack "src\Semver" -c Release -o artifacts | ||
|
||
test_script: | ||
- dotnet test "test\Semver.Test" | ||
|
||
artifacts: | ||
- path: artifacts\*.nupkg | ||
name: ReleaseArtifacts | ||
|
||
deploy: | ||
- provider: Environment | ||
name: NuGet | ||
on: | ||
branch: master | ||
# - provider: GitHub | ||
# auth_token: | ||
# secure: | ||
# draft: true | ||
# on: | ||
# branch: master | ||
# appveyor_repo_tag: true | ||
|
||
#notifications: | ||
# - provider: Slack | ||
# channel: '#notifications' | ||
# auth_token: | ||
# secure: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"projects": [ | ||
"src", | ||
"test" | ||
], | ||
"sdk": { | ||
"version": "1.0.0-preview2-003121" | ||
} | ||
} |
Oops, something went wrong.