Skip to content

Commit

Permalink
Update pack scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwiechec committed May 17, 2023
1 parent 0364f45 commit 58813fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/pack.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Set-Location $workingDirectory\out\CodeArt.Optimizely.PropertyInheritance
Start-Process -NoNewWindow -Wait -FilePath $zip -ArgumentList "a", "CodeArt.Optimizely.PropertyInheritance.zip", "$version", "module.config"
Set-Location $workingDirectory

Write-Output "Start creating package '$configuration'"

# Packaging public packages
dotnet pack -c $configuration /p:PackageVersion=$version /p:CmsUIVersion=$cmsUIVersion /p:CmsUINextMajorVersion=$cmsUINextMajorVersion /p:RuntimeVersion=$runtimeVersion /p:RuntimeNextMajorVersion=$runtimeNextMajorVersion src/PropertyInheritanceSampleSite.sln

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<Title>Property Inheritance Addon</Title>
<IsPackable>true</IsPackable>
<PackageVersion>1.0.0</PackageVersion>
<NuspecBasePath>$(ProjectDir)..\..\</NuspecBasePath>
<PackageOutputPath>$(SolutionDir)artifacts\packages\</PackageOutputPath>
<NuspecFile>CodeArt.Optimizely.PropertyInheritance.nuspec</NuspecFile>
<Version>1.0.0</Version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</contentFiles>
</metadata>
<files>
<file src="src\CodeArt.Optimizely.PropertyInheritance\bin\$configuration$\CodeArt.Optimizely.PropertyInheritance.dll" target="lib\net6.0\" />
<file src="src\CodeArt.Optimizely.PropertyInheritance\bin\Debug\net6.0\CodeArt.Optimizely.PropertyInheritance.dll" target="lib\net6.0\" />

<file src="out\CodeArt.Optimizely.PropertyInheritance\CodeArt.Optimizely.PropertyInheritance.zip" target="contentFiles\any\any\modules\_protected\CodeArt.Optimizely.PropertyInheritance\" />

Expand Down

0 comments on commit 58813fd

Please sign in to comment.