Skip to content

Commit

Permalink
Bump version to 0.3-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Dec 8, 2024
1 parent 3d6a89b commit 5d81aa0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
],
"description": "A human person."
},
"System.Collections.Generic.List\u00601[[SchemaTests\u002BPerson, Nerdbank.MessagePack.Tests, Version=0.2.0.0, Culture=neutral, PublicKeyToken=d4b172c8050bbbc3]]": {
"System.Collections.Generic.List\u00601[[SchemaTests\u002BPerson, Nerdbank.MessagePack.Tests, Version=x.x.x.x, Culture=neutral, PublicKeyToken=d4b172c8050bbbc3]]": {
"type": "array",
"items": {
"$ref": "#/definitions/SchemaTests\u002BPerson"
Expand Down Expand Up @@ -79,7 +79,7 @@
]
},
"progeny": {
"$ref": "#/definitions/System.Collections.Generic.List\u00601[[SchemaTests\u002BPerson, Nerdbank.MessagePack.Tests, Version=0.2.0.0, Culture=neutral, PublicKeyToken=d4b172c8050bbbc3]]"
"$ref": "#/definitions/System.Collections.Generic.List\u00601[[SchemaTests\u002BPerson, Nerdbank.MessagePack.Tests, Version=x.x.x.x, Culture=neutral, PublicKeyToken=d4b172c8050bbbc3]]"
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion test/Nerdbank.MessagePack.Tests/SchemaTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ public void ReferencePreservationGraphReset()

private static string SchemaToString(JsonObject schema)
{
string schemaString = schema.ToJsonString(new JsonSerializerOptions { WriteIndented = true });
string schemaString = schema
.ToJsonString(new JsonSerializerOptions { WriteIndented = true })
.Replace("Nerdbank.MessagePack.Tests, Version=0.3.0.0", "Nerdbank.MessagePack.Tests, Version=x.x.x.x");

#if NETFRAMEWORK
schemaString = schemaString.Replace("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e");
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.2-alpha",
"version": "0.3-alpha",
"publicReleaseRefSpec": [
"^refs/heads/main$",
"^refs/heads/v\\d+(?:\\.\\d+)?$",
Expand All @@ -9,4 +9,4 @@
"cloudBuild": {
"setVersionVariables": false
}
}
}

0 comments on commit 5d81aa0

Please sign in to comment.