Skip to content

Commit

Permalink
Merge pull request #105 from postindustria-tech/rename-csv-archive
Browse files Browse the repository at this point in the history
Rename `51Degrees-TacV3.4.trie` to `51Degrees-Tac.zip`
  • Loading branch information
justadreamer authored Oct 27, 2023
2 parents 7ba3a0f + 4dd8d36 commit da33b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/fetch-assets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit da33b6b

Please sign in to comment.