diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-04-02 05:14:28 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-04-02 05:14:28 +0300 |
commit | d38e9ee62dccf8c7cabc770c6d74f93ae9d5fe51 (patch) | |
tree | 1788f280278d969b3edb3c23278a6523c43a87b1 /build | |
parent | 6d1972ed8f9dcdf85cad41aa5337b64ce27b573e (diff) |
v3.2.1v3.2.1
- **AnyCubic file format:**
- (Fix) Lift height and speed are not being correctly set on old version, keeping a constant value (#441)
- (Fix) Retract speed getter was not return value from TSMC if using version 516
- **Tool - Infill:**
- (Add) Waves infill type
- (Add) Concentric infill type
- (Add) Gyroid infill type (#443)
- (Change) Increase the default spacing from 200px to 300px
- (Improvement) Fastter infill processing by use the model bounds
- (Add) `FormatSpeedUnit` property to file formats to get the speed unit which the file use internally
- (Fix) UI: ROI rectangle can overlap scroll bars while selecting
Diffstat (limited to 'build')
-rw-r--r-- | build/createRelease.ps1 | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/build/createRelease.ps1 b/build/createRelease.ps1 index 40efdd9..b670883 100644 --- a/build/createRelease.ps1 +++ b/build/createRelease.ps1 @@ -202,6 +202,7 @@ $releaseFolder = "$project\bin\$buildWith\net$netVersion" $objFolder = "$project\obj\$buildWith\net$netVersion" $publishFolder = "publish" $platformsFolder = "$buildFolder\platforms" +$changelogFile = "$rootFolder\CHANGELOG.md" #$version = (Get-Command "$releaseFolder\UVtools.dll").FileVersionInfo.ProductVersion $projectXml = [Xml] (Get-Content "$project\$project.csproj") @@ -277,6 +278,27 @@ $runtimes = } } +# Set release notes on projects +$changelog = Get-Content -Path "$changelogFile" +$foundHashTag = $false +$sb = [System.Text.StringBuilder]::new() +foreach($line in $changelog) { + $line = $line.TrimEnd() + if($line -eq '') { continue } + if($line.StartsWith("##")) { + if(!$foundHashTag) + { + $foundHashTag = $true + continue + } + else { break } + } + elseif($foundHashTag){ + [void]$sb.AppendLine($line) + } +} +Write-Host $sb.ToString() + if($null -ne $enableNugetPublish -and $enableNugetPublish) { @@ -388,7 +410,8 @@ if($null -ne $enableMSI -and $enableMSI) { $deployStopWatch.Restart() $runtime = 'win-x64' - if (Test-Path -Path $msiSourceFiles) { + + if ((Test-Path -Path $msiSourceFiles) -and ((Get-ChildItem "$msiSourceFiles" | Measure-Object).Count) -gt 0) { $msiTargetFile = "$publishFolder\${software}_${runtime}_v$version.msi" Write-Output "################################" Write-Output "Clean and build MSI components manifest file" |