From 4dd8d3604ea59a1cb832b5aa08603d067dad5180 Mon Sep 17 00:00:00 2001 From: Alexander Popel Date: Fri, 27 Oct 2023 13:30:21 +0300 Subject: [PATCH] Rename `51Degrees-TacV3.4.trie` to `51Degrees-Tac.zip` --- ci/fetch-assets.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/fetch-assets.ps1 b/ci/fetch-assets.ps1 index d95efc5ee..ab9d10c04 100644 --- a/ci/fetch-assets.ps1 +++ b/ci/fetch-assets.ps1 @@ -28,8 +28,8 @@ $downloads = @{ "20000 User Agents.csv" = {Invoke-WebRequest -Uri "https://media.githubusercontent.com/media/51Degrees/device-detection-data/main/20000%20User%20Agents.csv" -OutFile $assets/$file} "51Degrees.csv" = { ./steps/fetch-csv-assets.ps1 -RepoName $RepoName -LicenseKey $DeviceDetection -Url $CsvUrl - Get-Content -TotalCount 1 $RepoName/51Degrees-TacV3.4.trie/51Degrees-Tac-All.csv | Out-File $assets/$file # We only need a header - Remove-Item -Path $RepoName/51Degrees-TacV3.4.trie.zip, $RepoName/51Degrees-TacV3.4.trie/51Degrees-Tac-All.csv + Get-Content -TotalCount 1 $RepoName/51Degrees-Tac/51Degrees-Tac-All.csv | Out-File $assets/$file # We only need a header + Remove-Item -Path $RepoName/51Degrees-Tac.zip, $RepoName/51Degrees-Tac/51Degrees-Tac-All.csv } }