Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ obj
/.nuget/NuGet.Config
/.nuget/NuGet.exe
/.nuget/NuGet.targets
*.cache
4 changes: 3 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release Notes

## XMLUnit.NET 2.11.1 - /Not Released, yet/
## XMLUnit.NET 2.11.2 - /not released, yet/

## XMLUnit.NET 2.11.1 - /Released 2025-05-19/

* placeholders can now also be used inside of the local part of `xsi:type` attributes.
PR [#49](https://github.com/xmlunit/xmlunit.net/pull/49)
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.11.1.{build}
version: 2.11.2.{build}

image:
- Ubuntu2204
Expand Down
2 changes: 1 addition & 1 deletion create-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ $# -lt 1 ]; then
fi

mkdir -p build/bindist-tmp/xmlunit-$1
cp README.md LICENSE RELEASE_NOTES.md build/bindist-tmp/xmlunit-$1
cp README.md LICENSE RELEASE_NOTES.md build/cyclonedx/* build/bindist-tmp/xmlunit-$1
for d in Debug Release; do
mkdir -p build/bindist-tmp/xmlunit-$1/NetFramework/$d
mkdir -p build/bindist-tmp/xmlunit-$1/netstandard2.0/$d
Expand Down
58 changes: 58 additions & 0 deletions scripts/build-and-package.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Requires -Version 7

param(
[Parameter(Mandatory = $true)]
[string]
$Version
)

function BuildAll {
param(
[Parameter(Mandatory = $true)]
[string]
$Version,

[Parameter(Mandatory = $true)]
[string]
$Configuration
)

msbuild /p:Configuration=$Configuration XMLUnit.NET.NetFramework.sln
msbuild /p:Configuration=$Configuration src/main/net-constraints-nunit4/NetFramework/XMLUnit.NUnit4.Constraints.NetFramework.csproj

dotnet build XMLUnit.NET.sln -c $Configuration
dotnet build src/main/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.csproj -c $Configuration
}

function BuildNugetPackage {
param(
[Parameter(Mandatory = $true)]
[string]
$Version,

[Parameter(Mandatory = $true)]
[string]
$Spec
)

nuget pack $Spec -Symbols -OutputDirectory build\ -Properties "version=$Version"
}

$env:DOTNET_ROLL_FORWARD = "Major"

dotnet restore XMLUnit.NET.sln

BuildAll -Version $Version -Configuration Debug

dotnet test src/tests/net-core/XMLUnit.Core.Tests.csproj
dotnet test src/tests/net-constraints-nunit3/XMLUnit.NUnit3.Constraints.Test.csproj
dotnet test src/tests/net-placeholders/XMLUnit.Placeholders.Tests.csproj
dotnet test src/tests/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.Test.csproj

BuildAll -Version $Version -Configuration Release

BuildNugetPackage -Version $Version -Spec src\main\net-core\XMLUnit.Core.nuspec
BuildNugetPackage -Version $Version -Spec src\main\net-constraints-nunit2\XMLUnit.NUnit2.Constraints.nuspec
BuildNugetPackage -Version $Version -Spec src\main\net-constraints-nunit3\XMLUnit.NUnit3.Constraints.nuspec
BuildNugetPackage -Version $Version -Spec src\main\net-constraints-nunit4\XMLUnit.NUnit4.Constraints.nuspec
BuildNugetPackage -Version $Version -Spec src\main\net-placeholders\XMLUnit.Placeholders.nuspec
2 changes: 1 addition & 1 deletion src/doc/monodoc/core/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@
under <format type="text/html"><a href="https://github.com/xmlunit/xmlunit.net/blob/main/LICENSE">the
Apache License, Version 2.0</a></format>.</para></Remarks>
<Copyright></Copyright>
<Title>XMLUnit.NET 2.11.1</Title>
<Title>XMLUnit.NET 2.11.2</Title>
</Overview>
4 changes: 2 additions & 2 deletions src/shared/CommonAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ namespace Org.XmlUnit
{
internal static class XmlUnitVersion
{
internal const string ApiVersion = "2.11.1";
internal const string AssemblyVersion = ApiVersion + ".283";
internal const string ApiVersion = "2.11.2";
internal const string AssemblyVersion = ApiVersion + ".314";
internal const string Version = ApiVersion + "-alpha";
}
}