1 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
2 changed files with 2 additions and 2 deletions

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

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