CI: dynamic versions
All checks were successful
release-nuget-package / Release NuGet Package (push) Successful in 27s
All checks were successful
release-nuget-package / Release NuGet Package (push) Successful in 27s
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user