Skip to content

Commit a78439e

Browse files
authored
Fix build task
1 parent a3102e1 commit a78439e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.build/tasks/PSDSC.Install.ps1

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,11 @@ task PSDSC.Windows.Install {
6060
throw "This function is only supported for Windows systems."
6161
}
6262

63-
$base = 'https://api.github.com/repos/PowerShell/DSC/releases'
64-
63+
$base = 'https://api.github.com/repos/PowerShell/DSC/releases/latest'
6564

6665
$releases = Invoke-RestMethod -Uri $base
6766

68-
# TODO: remove after latest is known
69-
if ($releases.Count -gt 1)
70-
{
71-
$releases = $releases | Sort-Object -Descending | Select-Object -First 1
72-
}
73-
74-
$fileName = 'DSC-3.0.0-*-x86_64-pc-windows-msvc.zip'
67+
$fileName = 'DSC-3.0.0-x86_64-pc-windows-msvc.zip'
7568
# get latest asset to be downloaded
7669
$asset = $releases.assets | Where-Object -Property Name -Like $fileName
7770

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
## [1.2.0] - 2025-03-14
9+
10+
### Fixed
11+
12+
- Build task
13+
814
## [1.1.2] - 2025-03-14
915

1016
### Fixed

0 commit comments

Comments
 (0)