Skip to content

Commit b565664

Browse files
committed
Publish artifacts
1 parent 9301a88 commit b565664

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<PackageReference Include="Nerdbank.GitVersioning">
5+
<Version>3.1.74</Version>
6+
<PrivateAssets>all</PrivateAssets>
7+
</PackageReference>
8+
</ItemGroup>
9+
</Project>

appveyor.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
version: 1.0.0.{build}
1+
version: 1.0.{build}
22
image: Visual Studio 2019
3-
before_build:
4-
- nuget restore NHibernate.MySqlConnector.sln
3+
build_script:
4+
- dotnet pack -c Release -o out
5+
artifacts:
6+
- path: out\*.nupkg
7+
deploy:
8+
- provider: NuGet
9+
api_key:
10+
secure: 2em9hy+7uFC96h2u5AvMZHYRiynb4l5tHrlK/blCv1N3ckwEYz4yXadP47EOT5Er
11+
on:
12+
branch: master

version.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3+
"version": "1.0.0",
4+
"publicReleaseRefSpec": [
5+
"^refs/heads/master$",
6+
"^refs/heads/v\\d+(?:\\.\\d+)?$"
7+
],
8+
"cloudBuild": {
9+
"buildNumber": {
10+
"enabled": true
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)