Permalink
Browse files

GitVersion integration (#378)

  • Loading branch information...
aloneguid committed Nov 21, 2018
1 parent 100b897 commit e329ae5154426fa94a502e6febe8e66748226051
@@ -0,0 +1,4 @@
mode: ContinuousDelivery
branches: {}
ignore:
sha: []
@@ -11,6 +11,8 @@ Note that [Elastacloud](https://elastacloud.com/Home) provides commercial suppor
[![NuGet](https://img.shields.io/nuget/v/Parquet.Net.svg)](https://www.nuget.org/packages/Parquet.Net)
[![Build status](https://ci.appveyor.com/api/projects/status/w3o50mweytm85uxb/branch/master?svg=true)](https://ci.appveyor.com/project/aloneguid/parquet-dotnet/branch/master)

Latest unstable versions are avaible on [this NuGet feed](https://ci.appveyor.com/nuget/parquet-dotnet) (it will also contain packages built from your PRs).

**Fully managed** .NET library to read and write [Apache Parquet](https://parquet.apache.org/) files. Supports:
- `.NET 4.5` and up.
- `.NET Standard 1.4` and up (for those who are in a tank that means it supports `.NET Core` (all versions) implicitly)
@@ -1,14 +1,13 @@
version: "{build}"
pull_requests:
do_not_increment_build_number: true
skip_tags: true
nuget:
disable_publish_on_pr: true
image: Visual Studio 2017
configuration: Release
before_build:
- ps: >-
dotnet tool install -g housework -g
dotnet tool install -g housework
housework setbuildnumber %CiVersion% -s build.ini
housework setbuildnumber %gitVersion.legacySemVer% -s build.ini
housework author ./src/Parquet/Parquet.csproj -s build.ini
@@ -27,9 +26,18 @@ test_script:
dotnet test src\Parquet.Test -c release
artifacts:
- path: src/**/*.nupkg
deploy:
- provider: NuGet
api_key:
secure: hQlxhZb6uDjtZz4V+DZyAqjxnGjXqEokO/tckU14RDUP/AxTkFnX869pNsXCv+Ab
on:
branch: release
deploy: off

# override branch policy
for:

# master
-
branches:
only:
- master
skip_non_tags: true
deploy:
- provider: NuGet
api_key:
secure: hQlxhZb6uDjtZz4V+DZyAqjxnGjXqEokO/tckU14RDUP/AxTkFnX869pNsXCv+Ab
@@ -1,12 +1,10 @@
VersionMajor=3
VersionMinor=2
VersionPatch=3
VersionMajor=%gitVersion.major%
VersionMinor=%gitVersion.minor%
VersionPatch=%gitVersion.patch%
BuildNo=%APPVEYOR_BUILD_NUMBER%
CiVersion=%VersionMajor%.%VersionMinor%.%VersionPatch%.%APPVEYOR_REPO_BRANCH%-%BuildNo%

;NuGet specific
;Version=%VersionMajor%.%VersionMinor%.%VersionPatch%-preview-%BuildNo%
Version=%VersionMajor%.%VersionMinor%.%VersionPatch%
Version=%gitVersion.legacySemVer%
FileVersion=%VersionMajor%.%VersionMinor%.%VersionPatch%.%BuildNo%
AssemblyVersion=%VersionMajor%.0.0.0
Copyright=Copyright (c) 2017-%date:yyyy% by Elastacloud Ltd.
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="hw" value="https://ci.appveyor.com/nuget/dotnet-housework-cli"/>
</packageSources>
</configuration>
@@ -7,10 +7,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="Moq" Version="4.10.0" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
@@ -18,9 +18,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cpf.Core" Version="1.1.4" />
<PackageReference Include="LogMagic" Version="2.16.1" />
<PackageReference Include="LogMagic.Microsoft.Azure.ApplicationInsights" Version="2.16.1" />
<PackageReference Include="Cpf.Core" Version="1.1.48" />
<PackageReference Include="LogMagic" Version="2.17.3" />
<PackageReference Include="LogMagic.Microsoft.Azure.ApplicationInsights" Version="2.17.3" />
</ItemGroup>

<ItemGroup>
@@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="LogMagic" Version="2.16.1" />
<PackageReference Include="LogMagic" Version="2.17.3" />
</ItemGroup>

<ItemGroup>
@@ -19,12 +19,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NetBox" Version="2.1.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="NetBox" Version="2.1.5" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0">
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
@@ -38,6 +38,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
..\.editorconfig = ..\.editorconfig
..\appveyor.yml = ..\appveyor.yml
..\build.ini = ..\build.ini
..\nuget.config = ..\nuget.config
..\README.md = ..\README.md
EndProjectSection
EndProject
@@ -58,7 +59,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpArrow.Test", "SharpArr
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parquet.CLI", "Parquet.CLI\Parquet.CLI.csproj", "{F2C35F5E-E92E-47F8-945C-DC6726FC3CF6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Parquet.CLI.Test", "Parquet.CLI.Test\Parquet.CLI.Test.csproj", "{C69634C9-54BB-4788-9D2B-A29C1203F20A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parquet.CLI.Test", "Parquet.CLI.Test\Parquet.CLI.Test.csproj", "{C69634C9-54BB-4788-9D2B-A29C1203F20A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -7,11 +7,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NetBox" Version="2.1.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="NetBox" Version="2.1.5" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0">
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>

0 comments on commit e329ae5

Please sign in to comment.