mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
v3.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
This commit is contained in:
+24
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user