This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add Nerdbank.GitVersioning * temp remove SourceLink * try switching Froto.Parser.Test from netsoreapp2.0 to 2.1 * use Froto.sln * latest dotnet 2.2.3 * try 2.2.2 * sdk is 2.2.105 * dist: xenial * remove Froto.TypeProvider from Froto.sln * back to netcoreapp2.0 * git fetch --unshallow * Revert "fix Enum in message body error (#96)" This reverts commit 40a86c7. * add version.json * disable nbgv for exe * use previous SourceLink dotnet/sourcelink#236 * PrivateAssets="All" * upgrade to Nerdbank.GitVersioning" Version="2.3.136 * remove Break()
- Loading branch information
Showing
12 changed files
with
49 additions
and
85 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
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
language: csharp | ||
dist: xenial | ||
mono: none | ||
dotnet: 2.1.3 | ||
dotnet: 2.2.105 | ||
script: | ||
- dotnet restore Froto.unix.sln | ||
- dotnet build Froto.unix.sln -c Release | ||
- git fetch --unshallow | ||
- dotnet restore Froto.sln | ||
- dotnet build Froto.sln -c Release | ||
- dotnet test Parser.Test/Froto.Parser.Test.fsproj | ||
- dotnet test Serialization.Test/Froto.Serialization.Test.fsproj |
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 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,22 +1,10 @@ | ||
$version = '0.7.0' # the version under development, update after a release | ||
$versionSuffix = '-build.0' # manually incremented for local builds | ||
|
||
function isVersionTag($tag){ | ||
$v = New-Object Version | ||
[Version]::TryParse($tag, [ref]$v) | ||
} | ||
|
||
if ($env:appveyor){ | ||
$versionSuffix = '-build.' + $env:appveyor_build_number | ||
if ($env:appveyor_repo_tag -eq 'true' -and (isVersionTag($env:appveyor_repo_tag_name))){ | ||
$version = $env:appveyor_repo_tag_name | ||
$versionSuffix = '' | ||
} | ||
Update-AppveyorBuild -Version "$version$versionSuffix" | ||
} | ||
|
||
dotnet build -c Release Froto.sln /p:Version=$version$versionSuffix | ||
dotnet build -c Release Froto.sln | ||
if ($lastexitcode -ne 0){ exit $lastexitcode } | ||
dotnet test --no-build -c Release Parser.Test\Froto.Parser.Test.fsproj | ||
if ($lastexitcode -ne 0){ exit $lastexitcode } | ||
dotnet test --no-build -c Release Serialization.Test\Froto.Serialization.Test.fsproj | ||
dotnet pack --no-build -c Release Parser\Froto.Parser.fsproj /p:Version=$version$versionSuffix -o $psscriptroot/bin | ||
dotnet pack --no-build -c Release Serialization\Froto.Serialization.fsproj /p:Version=$version$versionSuffix -o $psscriptroot/bin | ||
if ($lastexitcode -ne 0){ exit $lastexitcode } | ||
dotnet pack --no-build -c Release Parser\Froto.Parser.fsproj -o $psscriptroot/bin | ||
if ($lastexitcode -ne 0){ exit $lastexitcode } | ||
dotnet pack --no-build -c Release Serialization\Froto.Serialization.fsproj -o $psscriptroot/bin | ||
if ($lastexitcode -ne 0){ exit $lastexitcode } |
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,17 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", | ||
"version": "0.6", | ||
"nugetPackageVersion": { | ||
"semVer": 2 | ||
}, | ||
"gitCommitIdShortAutoMinimum": 7, | ||
"publicReleaseRefSpec": [ | ||
"^refs/heads/master$", | ||
"^refs/heads/\\d+\\.\\d+$" | ||
], | ||
"cloudBuild": { | ||
"buildNumber": { | ||
"enabled": true | ||
} | ||
} | ||
} |