Skip to content

Commit 01bf2c4

Browse files
committed
test deleting with script
1 parent fe9e359 commit 01bf2c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-dev-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
- name: Prune old -dev packages
4848
shell: pwsh
4949
run: |
50-
$dryRun = $true
50+
$dryRun = $false
5151
$packageIndexUrl = 'https://s3.amazonaws.com/bloodhound-ad/sleet.packageindex.json'
5252
$packageIds = @('SharpHoundCommons', 'SharpHoundRPC')
53-
$maxDevVersions = 2
53+
$maxDevVersions = 7
5454
5555
$packageIndex = Invoke-RestMethod -Uri $packageIndexUrl
5656
@@ -78,7 +78,7 @@ jobs:
7878
}
7979
else {
8080
Write-Host "Deleting $($_.PackageId) $($_.Version)";
81-
#sleet delete --id $_.PackageId --version $_.Version --reason "Prune old dev build"
81+
sleet delete --id $_.PackageId --version $_.Version --reason "Prune old dev build"
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)