Skip to content

Commit

Permalink
test with nightly s3 url
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-datadog committed Oct 16, 2024
1 parent 55d8f91 commit d44c7ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/winbuildscripts/Generate-Chocolatey-Package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ if ($rawAgentVersion -match $releaseCandidatePattern) {
$url = "https://s3.amazonaws.com/dd-agent-mstesting/builds/beta/ddagent-cli-$($agentVersionMatches.Matches.Groups[1])-rc.$($agentVersionMatches.Matches.Groups[2]).msi"
} elseif ($rawAgentVersion -match $develPattern) {
if ($installMethod -eq "online") {
$url = "https://s3.amazonaws.com/test-windows/ddagent-cli-$($rawAgentVersion).msi"
$testVersion = $rawAgentVersion -replace '-1$', ''
$url = "https://s3.amazonaws.com/ddagent-windows-trial/nightly/ddagent-cli-$($testVersion).msi"
# We don't publish online chocolatey packages for dev branches, error out
# Write-Host "Chocolatey packages are not built for dev branches aborting"
# exit 2
Expand Down

0 comments on commit d44c7ec

Please sign in to comment.