3 Commits

Author SHA1 Message Date
831e9fd8eb Add UserName to IReportable.cs
All checks were successful
release-nuget-package / Release NuGet Package (push) Successful in 38s
2026-02-15 22:22:17 +01:00
af03d37760 Remove Debug output 2026-02-15 22:20:08 +01:00
0738a230a3 CI: dynamic versions
All checks were successful
release-nuget-package / Release NuGet Package (push) Successful in 27s
2026-02-14 00:03:24 +01:00
3 changed files with 7 additions and 7 deletions

View File

@@ -24,4 +24,9 @@ public interface IReportable
/// The ID of an Entity that is beeing reported. This is used to determine the exact entity being reported. /// The ID of an Entity that is beeing reported. This is used to determine the exact entity being reported.
/// </summary> /// </summary>
public int EntityID { get; } public int EntityID { get; }
/// <summary>
/// The UserName of the user who published the Entity (and who should be held accountible for that Entity).
/// </summary>
public string UserName { get; }
} }

View File

@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata> <metadata>
<id>$projectname$</id> <id>$projectname$</id>
<version>1.0.0</version> <version>$version$</version>
<authors>SZUAbsolventenverein</authors> <authors>SZUAbsolventenverein</authors>
<owners>SZUAbsolventenverein</owners> <owners>SZUAbsolventenverein</owners>
<title>Interfaces</title> <title>Interfaces</title>

View File

@@ -3,15 +3,10 @@ TargetFramework=$1
ProjectName=$2 ProjectName=$2
Configuration=$3 Configuration=$3
echo "ENV Following:"
env
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${GITHUB_REF_NAME}" echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${GITHUB_REF_NAME}"
cat $ProjectName.nuspec
find . -name *.nupkg -delete find . -name *.nupkg -delete
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};Config=${Configuration}" dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};Config=${Configuration};version=${GITHUB_REF_NAME}"
if [ $Configuration == 'PublishNuget' ]; then if [ $Configuration == 'PublishNuget' ]; then
echo "Skipping copy to Oqtane.Server/Packages" echo "Skipping copy to Oqtane.Server/Packages"