Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c1370b1f71 | |||
| 613b1e1843 | |||
| df9bf69405 | |||
| 38aedff5c2 |
@@ -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}"
|
||||||
|
|
||||||
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