From c457b819d7ef4749bd20a1d6ada93d1fdc59bf59 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 18 Jan 2017 16:10:05 -0800 Subject: [PATCH] travis: Stop uploading sha256 files We'll generate these later in the build process and otherwise they could just cause spurious failures with files overwriting one another. --- .travis.yml | 6 ++---- appveyor.yml | 5 +---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index abd0a8fe346f0..83f5691c746e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,11 +119,9 @@ before_deploy: - mkdir -p deploy/$TRAVIS_COMMIT - > if [ "$TRAVIS_OS_NAME" == "osx" ]; then - cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT && - find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'shasum -a 256 -b "{}" > "{}.sha256"' \;; + cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT; else - cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT && - find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'sha256sum -b "{}" > "{}.sha256"' \;; + cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT; fi deploy: diff --git a/appveyor.yml b/appveyor.yml index 346ef0d8faad7..9f3e9d703f11c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -131,9 +131,6 @@ before_deploy: - ps: | New-Item -Path deploy -ItemType directory Get-ChildItem -Path build\dist -Filter '*.tar.gz' | Move-Item -Destination deploy - Get-FileHash .\deploy\* | ForEach-Object { - [io.file]::WriteAllText($_.Path + ".sha256", $_.Hash.ToLower() + "`n") - } Get-ChildItem -Path deploy | Foreach-Object { Push-AppveyorArtifact $_.FullName -FileName ${env:APPVEYOR_REPO_COMMIT}/$_ } @@ -147,7 +144,7 @@ deploy: bucket: rust-lang-ci set_public: true region: us-east-1 - artifact: /.*\.(tar.gz|sha256)/ + artifact: /.*\.tar.gz/ folder: rustc-builds on: branch: auto