diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 58ceeba..d968b24 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,7 +5,7 @@ on:
types: [published]
env:
- VERSION: ${{ github.event.release.draft && format('{0}-beta', github.event.release.tag_name) || github.event.release.tag_name }}
+ VERSION: ${{ github.event.release.prerelease && format('{0}-beta', github.event.release.tag_name) || github.event.release.tag_name }}
jobs:
build:
diff --git a/Funzo.Serialization/UnionSerializedRepresentation.cs b/Funzo.Serialization/UnionSerializedRepresentation.cs
index 5affc03..5553caa 100644
--- a/Funzo.Serialization/UnionSerializedRepresentation.cs
+++ b/Funzo.Serialization/UnionSerializedRepresentation.cs
@@ -1,7 +1,8 @@
namespace Funzo.Serialization;
+
internal class UnionSerializedRepresentation
{
public string Tag => Value.GetType().Name;
- public object Value { get; set; }
+ public required object Value { get; set; }
}
diff --git a/Funzo.SourceGenerators/Funzo.SourceGenerators.csproj b/Funzo.SourceGenerators/Funzo.SourceGenerators.csproj
index a685745..6750b0a 100644
--- a/Funzo.SourceGenerators/Funzo.SourceGenerators.csproj
+++ b/Funzo.SourceGenerators/Funzo.SourceGenerators.csproj
@@ -17,6 +17,7 @@
$(AssemblyVersion)
$(AssemblyVersion)
LICENSE
+ true