6 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
c1370b1f71 CI: Possible naming collition
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 26s
2026-02-13 23:55:05 +01:00
613b1e1843 CI: Fix: Use correct name
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 25s
2026-02-13 23:48:44 +01:00
df9bf69405 CI: Debugging
Some checks failed
release-nuget-package / Release NuGet Package (push) Failing after 31s
2026-02-13 23:44:04 +01:00
3 changed files with 10 additions and 6 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.
/// </summary>
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">
<metadata>
<id>$projectname$</id>
<version>1.0.0</version>
<version>$version$</version>
<authors>SZUAbsolventenverein</authors>
<owners>SZUAbsolventenverein</owners>
<title>Interfaces</title>
@@ -17,7 +17,7 @@
</packageTypes>
</metadata>
<files>
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
<file src="./bin\$Config$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
<file src="./bin\$Config$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
</files>
</package>

View File

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