mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
Fix release notes for nuget package
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
- **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
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PreparePackageReleaseNotesFromFile" BeforeTargets="GenerateNuspec">
|
||||
<ReadLinesFromFile File="../CHANGELOG.md">
|
||||
<ReadLinesFromFile File="RELEASE_NOTES.md">
|
||||
<Output TaskParameter="Lines" ItemName="ReleaseNoteLines" />
|
||||
</ReadLinesFromFile>
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -284,8 +284,8 @@ $foundHashTag = $false
|
||||
$sb = [System.Text.StringBuilder]::new()
|
||||
foreach($line in $changelog) {
|
||||
$line = $line.TrimEnd()
|
||||
if($line -eq '') { continue }
|
||||
if($line.StartsWith("##")) {
|
||||
if([string]::IsNullOrWhiteSpace($line)) { continue }
|
||||
if($line.StartsWith('##')) {
|
||||
if(!$foundHashTag)
|
||||
{
|
||||
$foundHashTag = $true
|
||||
@@ -298,6 +298,7 @@ foreach($line in $changelog) {
|
||||
}
|
||||
}
|
||||
Write-Host $sb.ToString()
|
||||
Set-Content -Path "UVtools.Core/RELEASE_NOTES.md" -Value $sb.ToString()
|
||||
|
||||
|
||||
if($null -ne $enableNugetPublish -and $enableNugetPublish)
|
||||
|
||||
Reference in New Issue
Block a user