Skip to content

Commit 4c528c6

Browse files
authored
Merge pull request #51 from xmlunit/release-2.11.1
Release 2.11.1
2 parents 4367cd6 + 4fe3a9c commit 4c528c6

File tree

7 files changed

+67
-6
lines changed

7 files changed

+67
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ obj
1313
/.nuget/NuGet.Config
1414
/.nuget/NuGet.exe
1515
/.nuget/NuGet.targets
16+
*.cache

RELEASE_NOTES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release Notes
22

3-
## XMLUnit.NET 2.11.1 - /Not Released, yet/
3+
## XMLUnit.NET 2.11.2 - /not released, yet/
4+
5+
## XMLUnit.NET 2.11.1 - /Released 2025-05-19/
46

57
* placeholders can now also be used inside of the local part of `xsi:type` attributes.
68
PR [#49](https://github.com/xmlunit/xmlunit.net/pull/49)

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2.11.1.{build}
1+
version: 2.11.2.{build}
22

33
image:
44
- Ubuntu2204

create-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ $# -lt 1 ]; then
2222
fi
2323

2424
mkdir -p build/bindist-tmp/xmlunit-$1
25-
cp README.md LICENSE RELEASE_NOTES.md build/bindist-tmp/xmlunit-$1
25+
cp README.md LICENSE RELEASE_NOTES.md build/cyclonedx/* build/bindist-tmp/xmlunit-$1
2626
for d in Debug Release; do
2727
mkdir -p build/bindist-tmp/xmlunit-$1/NetFramework/$d
2828
mkdir -p build/bindist-tmp/xmlunit-$1/netstandard2.0/$d

scripts/build-and-package.ps1

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Requires -Version 7
2+
3+
param(
4+
[Parameter(Mandatory = $true)]
5+
[string]
6+
$Version
7+
)
8+
9+
function BuildAll {
10+
param(
11+
[Parameter(Mandatory = $true)]
12+
[string]
13+
$Version,
14+
15+
[Parameter(Mandatory = $true)]
16+
[string]
17+
$Configuration
18+
)
19+
20+
msbuild /p:Configuration=$Configuration XMLUnit.NET.NetFramework.sln
21+
msbuild /p:Configuration=$Configuration src/main/net-constraints-nunit4/NetFramework/XMLUnit.NUnit4.Constraints.NetFramework.csproj
22+
23+
dotnet build XMLUnit.NET.sln -c $Configuration
24+
dotnet build src/main/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.csproj -c $Configuration
25+
}
26+
27+
function BuildNugetPackage {
28+
param(
29+
[Parameter(Mandatory = $true)]
30+
[string]
31+
$Version,
32+
33+
[Parameter(Mandatory = $true)]
34+
[string]
35+
$Spec
36+
)
37+
38+
nuget pack $Spec -Symbols -OutputDirectory build\ -Properties "version=$Version"
39+
}
40+
41+
$env:DOTNET_ROLL_FORWARD = "Major"
42+
43+
dotnet restore XMLUnit.NET.sln
44+
45+
BuildAll -Version $Version -Configuration Debug
46+
47+
dotnet test src/tests/net-core/XMLUnit.Core.Tests.csproj
48+
dotnet test src/tests/net-constraints-nunit3/XMLUnit.NUnit3.Constraints.Test.csproj
49+
dotnet test src/tests/net-placeholders/XMLUnit.Placeholders.Tests.csproj
50+
dotnet test src/tests/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.Test.csproj
51+
52+
BuildAll -Version $Version -Configuration Release
53+
54+
BuildNugetPackage -Version $Version -Spec src\main\net-core\XMLUnit.Core.nuspec
55+
BuildNugetPackage -Version $Version -Spec src\main\net-constraints-nunit2\XMLUnit.NUnit2.Constraints.nuspec
56+
BuildNugetPackage -Version $Version -Spec src\main\net-constraints-nunit3\XMLUnit.NUnit3.Constraints.nuspec
57+
BuildNugetPackage -Version $Version -Spec src\main\net-constraints-nunit4\XMLUnit.NUnit4.Constraints.nuspec
58+
BuildNugetPackage -Version $Version -Spec src\main\net-placeholders\XMLUnit.Placeholders.nuspec

src/doc/monodoc/core/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@
6262
under <format type="text/html"><a href="https://github.com/xmlunit/xmlunit.net/blob/main/LICENSE">the
6363
Apache License, Version 2.0</a></format>.</para></Remarks>
6464
<Copyright></Copyright>
65-
<Title>XMLUnit.NET 2.11.1</Title>
65+
<Title>XMLUnit.NET 2.11.2</Title>
6666
</Overview>

src/shared/CommonAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Org.XmlUnit
2525
{
2626
internal static class XmlUnitVersion
2727
{
28-
internal const string ApiVersion = "2.11.1";
29-
internal const string AssemblyVersion = ApiVersion + ".283";
28+
internal const string ApiVersion = "2.11.2";
29+
internal const string AssemblyVersion = ApiVersion + ".314";
3030
internal const string Version = ApiVersion + "-alpha";
3131
}
3232
}

0 commit comments

Comments
 (0)