2 Commits

Author SHA1 Message Date
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
2 changed files with 4 additions and 4 deletions

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

@@ -11,7 +11,7 @@ echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${GITHUB_REF_N
cat $ProjectName.nuspec
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"