Skip to content

Commit 52ef98d

Browse files
feat: Building history last ( Fixes PoshWeb#12 )
Cycling history file
1 parent 651fd65 commit 52ef98d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

build.ps1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ $history = @(try {
113113
Invoke-RestMethod -Uri $BuildTimeHistoryUrl -ErrorAction Ignore
114114
} catch {}) -ne $null
115115

116-
$history += $buildTimes |
117-
Select-Object Technique, Time, RelativeSpeed, DateTime
118-
119-
ConvertTo-Json -InputObject $history > ./history.json -Depth 2
120-
121116
$buildTimes | ConvertTo-Html -Title BuildTimes > ./times.html
122117

123118
@(
@@ -191,7 +186,7 @@ $history = @(try {
191186
$history += $buildTimes |
192187
Select-Object Technique, Time, RelativeSpeed, DateTime
193188

194-
ConvertTo-Json -InputObject $history > ./history.json -Depth 2
189+
# ConvertTo-Json -InputObject $history > ./history.json -Depth 2
195190

196191

197192

0 commit comments

Comments
 (0)