Skip to content

Commit a333a82

Browse files
author
Bart Koelman
committed
Fixed versioning on AppVeyor NuGet feed; added documentation
1 parent 72ce454 commit a333a82

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ _ReSharper*/
134134
*.[Rr]e[Ss]harper
135135
*.DotSettings.user
136136

137+
# JetBrains Rider
138+
.idea/
139+
137140
# TeamCity is a build add-in
138141
_TeamCity*
139142

Build.ps1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ If($env:APPVEYOR_REPO_TAG -eq $true) {
4747
CheckLastExitCode
4848
}
4949
}
50-
Else {
51-
Write-Output "VERSION-SUFFIX: alpha5-$revision"
52-
Write-Output "RUNNING dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=alpha1-$revision"
53-
dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=alpha1-$revision --include-symbols
50+
Else {
51+
$packageVersionSuffix="alpha5-$revision"
52+
Write-Output "VERSION-SUFFIX: $packageVersionSuffix"
53+
Write-Output "RUNNING dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$packageVersionSuffix"
54+
dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$packageVersionSuffix
5455
CheckLastExitCode
5556
}

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,15 @@ A lot of changes were introduced in v4.0.0, the following chart should help you
121121
| ----------------- | ------------- |
122122
| 2.* | v3.* |
123123
| 3.* | v4.* |
124+
125+
## Trying out the latest build
126+
127+
After each commit, a new prerelease NuGet package is automatically published to AppVeyor at https://ci.appveyor.com/nuget/jsonapidotnetcore. To try it out, follow the next steps:
128+
129+
* In Visual Studio: **Tools**, **NuGet Package Manager**, **Package Manager Settings**, **Package Sources**
130+
* Click **+**
131+
* Name: **AppVeyor JADNC**, Source: **https://ci.appveyor.com/nuget/jsonapidotnetcore**
132+
* Click **Update**, **Ok**
133+
* Open the NuGet package manager console (**Tools**, **NuGet Package Manager**, **Package Manager Console**)
134+
* Select **AppVeyor JADNC** as package source
135+
* Run command: `Install-Package JonApiDotNetCore -pre`

0 commit comments

Comments
 (0)