diff --git a/README.md b/README.md index 809b96e6f7..ba4e472cce 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ If you have any problems building, please consult the developer [FAQ][]. [tv-site]: https://travis-ci.org/PowerShell/PowerShell/branches [av-image]: https://ci.appveyor.com/api/projects/status/nsng9iobwa895f98/branch/master?svg=true [av-site]: https://ci.appveyor.com/project/PowerShell/powershell -[tv-nightly-image]: https://jimtru1979.blob.core.windows.net/badges/DailyBuildStatus.svg?dummy=unused +[tv-nightly-image]: https://jimtru1979.blob.core.windows.net/badges/DailyBuildStatus.svg [av-nightly-image]: https://ci.appveyor.com/api/projects/status/46yd4jogtm2jodcq?svg=true [av-nightly-site]: https://ci.appveyor.com/project/PowerShell/powershell-f975h [cc-site]: https://coveralls.io/github/PowerShell/PowerShell?branch=master diff --git a/tools/travis.ps1 b/tools/travis.ps1 index 0d79017141..68716e560a 100644 --- a/tools/travis.ps1 +++ b/tools/travis.ps1 @@ -42,9 +42,11 @@ function Set-DailyBuildBadge $bytes = ([System.Text.Encoding]::UTF8.GetBytes($body)) $contentLength = $bytes.length + $now = [datetime]::UtcNow.ToString("R", [System.Globalization.CultureInfo]::InvariantCulture) $headers = @{ - "x-ms-date" = [datetime]::UtcNow.ToString("R", [System.Globalization.CultureInfo]::InvariantCulture) - "Content-Length" = "$contentLength" + "x-ms-date" = $now + "cache-control" = "no-cache" + "last-modified" = $now "x-ms-blob-type" = "BlockBlob" "x-ms-version" = "$headerDate" }