Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0738a230a3 | |||
| c1370b1f71 | |||
| 613b1e1843 | |||
| df9bf69405 | |||
| 38aedff5c2 |
@@ -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>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
</packageTypes>
|
</packageTypes>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
|
<file src="./bin\$Config$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
|
||||||
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
|
<file src="./bin\$Config$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
||||||
@@ -3,11 +3,15 @@ TargetFramework=$1
|
|||||||
ProjectName=$2
|
ProjectName=$2
|
||||||
Configuration=$3
|
Configuration=$3
|
||||||
|
|
||||||
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${ gitea.ref_name } :NR ${REF_NAME}"
|
echo "ENV Following:"
|
||||||
|
env
|
||||||
|
|
||||||
|
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};configuration=${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